Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 101.9 kB / 16.45 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.00123, allocations: 190 kB / 17.39 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.1 MB / 223.3 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09214/0.09214, allocations: 12.6 MB / 283.2 MB, free: 15.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 89.02 kB / 394.2 MB, free: 45.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1323, allocations: 49.4 MB / 443.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.004376/0.1367, allocations: 1.883 MB / 445.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.1388, allocations: 0.9908 MB / 446.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.1391, allocations: 3.938 kB / 446.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.1399, allocations: 159.5 kB / 446.6 MB, free: 13.44 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005231/0.1404, allocations: 115.6 kB / 446.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000728/0.1412, allocations: 175.5 kB / 446.9 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.1415, allocations: 179.5 kB / 447.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1417, allocations: 29.53 kB / 447.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.1419, allocations: 75.7 kB / 447.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.1421, allocations: 71.56 kB / 447.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.1421, allocations: 16 kB / 447.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.1423, allocations: 55.97 kB / 447.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.1424, allocations: 43.89 kB / 447.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1425, allocations: 67.48 kB / 447.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.143, allocations: 203.3 kB / 447.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.143, allocations: 0 / 447.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1431, allocations: 0 / 447.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.1431, allocations: 0 / 447.6 MB, free: 12.43 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001147/0.1442, allocations: 0.5002 MB / 448.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.1443, allocations: 12.03 kB / 448.1 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.1444, allocations: 24.66 kB / 448.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005372/0.145, allocations: 266.8 kB / 448.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.145, allocations: 12.31 kB / 448.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.145, allocations: 8.125 kB / 448.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.1455, allocations: 150.7 kB / 448.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1455, allocations: 4 kB / 448.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.1455, allocations: 7.969 kB / 448.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1455, allocations: 0 / 448.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1457, allocations: 31.92 kB / 448.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.1463, allocations: 378.2 kB / 449 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.1466, allocations: 103.9 kB / 449.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.108e-05/0.1467, allocations: 46.56 kB / 449.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.1467, allocations: 4 kB / 449.1 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.1469, allocations: 71.38 kB / 449.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 4.178e-06/0.1469, allocations: 4 kB / 449.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004108/0.1473, allocations: 145.3 kB / 449.3 MB, free: 10.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.1475, allocations: 128.5 kB / 449.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.1478, allocations: 261 kB / 449.7 MB, free: 10.03 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1478, allocations: 29.7 kB / 449.8 MB, free: 9.996 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.259e-05/0.1479, allocations: 116 kB / 449.9 MB, free: 9.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1479, allocations: 15.81 kB / 449.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.148, allocations: 33.95 kB / 449.9 MB, free: 9.824 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1482, allocations: 338.7 kB / 450.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.1482, allocations: 19.98 kB / 450.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.456e-05/0.1483, allocations: 69.94 kB / 450.3 MB, free: 9.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.1485, allocations: 76.25 kB / 450.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1485, allocations: 0 / 450.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002447/0.1487, allocations: 113.4 kB / 450.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1488, allocations: 4 kB / 450.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1488, allocations: 0 / 450.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.1488, allocations: 12.06 kB / 450.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.1489, allocations: 19.92 kB / 450.6 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.1489, allocations: 4 kB / 450.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.635e-05/0.149, allocations: 15.78 kB / 450.6 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1491, allocations: 4 kB / 450.6 MB, free: 9.109 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample.y,superSample.u,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.1492, allocations: 146.1 kB / 450.7 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.346e-05/0.1493, allocations: 61.5 kB / 450.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.1494, allocations: 21.78 kB / 450.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1494, allocations: 4 kB / 450.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1494, allocations: 0 / 450.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.1494, allocations: 7.922 kB / 450.8 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000208/0.1496, allocations: 221.6 kB / 451 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1496, allocations: 0 / 451 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.1497, allocations: 7.938 kB / 451 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1497, allocations: 0 / 451 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1497, allocations: 4 kB / 451 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1497, allocations: 0 / 451 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1497, allocations: 0 / 451 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.15, allocations: 166.5 kB / 451.2 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1501, allocations: 100.9 kB / 451.3 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.1501, allocations: 7.984 kB / 451.3 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.1502, allocations: 4 kB / 451.3 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.1502, allocations: 4 kB / 451.3 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.1503, allocations: 19.92 kB / 451.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.1505, allocations: 192.5 kB / 451.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1505, allocations: 0 / 451.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1508, allocations: 23.98 kB / 451.6 MB, free: 8.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001022/0.1518, allocations: 416.6 kB / 452 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.152, allocations: 71.84 kB / 452 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1521, allocations: 4.25 kB / 452 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.76e-05/0.1521, allocations: 27.98 kB / 452.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004323/0.1526, allocations: 66.23 kB / 452.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006585/0.1533, allocations: 300.8 kB / 452.4 MB, free: 7.125 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1536, allocations: 0.7282 MB / 453.1 MB, free: 6.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1537, allocations: 25.52 kB / 453.2 MB, free: 6.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.1538, allocations: 19.44 kB / 453.2 MB, free: 6.324 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1538, allocations: 0 / 453.2 MB, free: 6.324 MB / 334.1 MB Notification: Performance of Templates: time 0.007732/0.1615, allocations: 2.457 MB / 455.6 MB, free: 3.867 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches