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.001103/0.001103, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 177.4 kB / 16.63 MB, free: 6.887 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.873/1.873, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1035/0.1035, allocations: 12.6 MB / 283.7 MB, free: 8.699 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.000742/0.0007421, allocations: 24 kB / 344.5 MB, free: 21.26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1317, allocations: 50.37 MB / 394.9 MB, free: 2.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.003146/0.1349, allocations: 1.556 MB / 396.5 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1366, allocations: 0.9253 MB / 397.4 MB, free: 296 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.1368, allocations: 3.938 kB / 397.4 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005324/0.1373, allocations: 135.7 kB / 397.5 MB, free: 156 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1376, allocations: 95.64 kB / 397.6 MB, free: 60 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005046/0.1381, allocations: 159.7 kB / 397.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002588/0.1384, allocations: 163.4 kB / 397.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1385, allocations: 29.55 kB / 398 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.1386, allocations: 63.7 kB / 398 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1387, allocations: 55.7 kB / 398.1 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1388, allocations: 4 kB / 398.1 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1389, allocations: 39.97 kB / 398.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.127e-05/0.139, allocations: 39.84 kB / 398.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.139, allocations: 49.58 kB / 398.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1392, allocations: 151.9 kB / 398.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1393, allocations: 4 kB / 398.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1393, allocations: 0 / 398.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1393, allocations: 0 / 398.4 MB, free: 15.31 MB / 302.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.0007983/0.1401, allocations: 496 kB / 398.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.1401, allocations: 8.031 kB / 398.9 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.1402, allocations: 19.81 kB / 398.9 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.1405, allocations: 257.5 kB / 399.1 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.1406, allocations: 8 kB / 399.1 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1406, allocations: 8 kB / 399.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.1409, allocations: 150.7 kB / 399.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.141, allocations: 3.984 kB / 399.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.141, allocations: 0 / 399.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.141, allocations: 0 / 399.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.1411, allocations: 47.92 kB / 399.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.1417, allocations: 350.5 kB / 399.7 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.1419, allocations: 111.9 kB / 399.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.8e-05/0.142, allocations: 42.56 kB / 399.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.142, allocations: 11.92 kB / 399.9 MB, free: 13.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001972/0.1422, allocations: 71.39 kB / 399.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1422, allocations: 0 / 399.9 MB, free: 13.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003609/0.1426, allocations: 141.3 kB / 400.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/0.1427, allocations: 136.4 kB / 400.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.143, allocations: 261.2 kB / 400.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.143, allocations: 33.7 kB / 400.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.1431, allocations: 120.2 kB / 400.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.1432, allocations: 27.72 kB / 400.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.1432, allocations: 0 / 400.6 MB, free: 12.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1433, allocations: 326.8 kB / 400.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.078e-05/0.1434, allocations: 23.92 kB / 401 MB, free: 12.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.1435, allocations: 70 kB / 401 MB, free: 12.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.172e-05/0.1436, allocations: 23.94 kB / 401.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1436, allocations: 0 / 401.1 MB, free: 12.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002129/0.1438, allocations: 113.4 kB / 401.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1439, allocations: 9.406 kB / 401.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1439, allocations: 0 / 401.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1439, allocations: 4 kB / 401.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.144, allocations: 15.92 kB / 401.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.144, allocations: 4 kB / 401.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.215e-05/0.1441, allocations: 15.86 kB / 401.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.1441, allocations: 4 kB / 401.2 MB, free: 12.13 MB / 302.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 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.1443, allocations: 141.6 kB / 401.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.1445, allocations: 69.44 kB / 401.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.501e-05/0.1446, allocations: 25.7 kB / 401.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.1446, allocations: 0 / 401.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1446, allocations: 320 / 401.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1446, allocations: 7.938 kB / 401.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003027/0.1449, allocations: 229.5 kB / 401.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1449, allocations: 0 / 401.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.1449, allocations: 11.92 kB / 401.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.145, allocations: 0 / 401.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.145, allocations: 4 kB / 401.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.145, allocations: 4.062 kB / 401.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.145, allocations: 0 / 401.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.1452, allocations: 158.4 kB / 401.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.1453, allocations: 104.9 kB / 402 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.1454, allocations: 8 kB / 402 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.14e-05/0.1455, allocations: 11.98 kB / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.1455, allocations: 0 / 402 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1455, allocations: 8 kB / 402 MB, free: 11.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003001/0.1458, allocations: 200.4 kB / 402.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1458, allocations: 0 / 402.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1461, allocations: 24 kB / 402.2 MB, free: 11.04 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.1472, allocations: 419.8 kB / 402.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1474, allocations: 75.84 kB / 402.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1474, allocations: 0 / 402.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.1475, allocations: 24 kB / 402.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.1479, allocations: 60.95 kB / 402.8 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005813/0.1485, allocations: 348.1 kB / 403.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/0.149, allocations: 0.7283 MB / 403.8 MB, free: 9.336 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.861e-05/0.1491, allocations: 17.55 kB / 403.9 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.18e-05/0.1491, allocations: 19.44 kB / 403.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1491, allocations: 0 / 403.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of Templates: time 0.006199/0.1553, allocations: 2.209 MB / 406.1 MB, free: 7.086 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches