Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006739/0.006739, allocations: 89 kB / 15.91 MB, free: 6.301 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.001221/0.001221, allocations: 198.2 kB / 16.83 MB, free: 6.234 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.885/1.885, allocations: 205.1 MB / 222.7 MB, free: 4.688 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.08604/0.08604, allocations: 12.59 MB / 282.6 MB, free: 8.758 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.001989/0.001989, allocations: 83.89 kB / 342.8 MB, free: 21.18 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1297, allocations: 49.4 MB / 392.2 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1): time 0.003729/0.1335, allocations: 1.547 MB / 393.7 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004642/0.134, allocations: 147.5 kB / 393.9 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.1341, allocations: 0 / 393.9 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.082e-05/0.1342, allocations: 3.938 kB / 393.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000144/0.1344, allocations: 4 kB / 393.9 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000324/0.1347, allocations: 35.91 kB / 393.9 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.589e-05/0.1348, allocations: 31.86 kB / 394 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1349, allocations: 19.97 kB / 394 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.135, allocations: 12 kB / 394 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.797e-05/0.135, allocations: 15.86 kB / 394 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1351, allocations: 4 kB / 394 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.1351, allocations: 0 / 394 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.521e-05/0.1352, allocations: 11.92 kB / 394 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.285e-05/0.1352, allocations: 19.88 kB / 394 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.1353, allocations: 36.11 kB / 394.1 MB, free: 1.805 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.1353, allocations: 3.984 kB / 394.1 MB, free: 1.801 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1353, allocations: 0 / 394.1 MB, free: 1.801 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1354, allocations: 0 / 394.1 MB, free: 1.801 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005362/0.1359, allocations: 371.2 kB / 394.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.136, allocations: 12.02 kB / 394.4 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.136, allocations: 8.844 kB / 394.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1362, allocations: 192.1 kB / 394.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/0.1363, allocations: 384 / 394.6 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.1363, allocations: 8.375 kB / 394.7 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.1366, allocations: 121.4 kB / 394.8 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1366, allocations: 4.172 kB / 394.8 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1366, allocations: 3.938 kB / 394.8 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1366, allocations: 0 / 394.8 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.1367, allocations: 23.92 kB / 394.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.1371, allocations: 257.8 kB / 395.1 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001841/0.1373, allocations: 142.2 kB / 395.2 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.1373, allocations: 25.77 kB / 395.2 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1374, allocations: 4 kB / 395.2 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1374, allocations: 34.56 kB / 395.3 MB, free: 416 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.1374, allocations: 0 / 395.3 MB, free: 416 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000289/0.1377, allocations: 73.52 kB / 395.3 MB, free: 336 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.978e-05/0.1378, allocations: 81.11 kB / 395.4 MB, free: 236 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.138, allocations: 125.8 kB / 395.5 MB, free: 100 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.138, allocations: 29.7 kB / 395.6 MB, free: 64 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.831e-05/0.1381, allocations: 84.27 kB / 395.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.1381, allocations: 4 kB / 395.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.1382, allocations: 25.61 kB / 395.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1384, allocations: 318.8 kB / 396 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/0.1384, allocations: 4 kB / 396 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.903e-05/0.1385, allocations: 35.36 kB / 396 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.1386, allocations: 47.36 kB / 396.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1386, allocations: 0 / 396.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00013/0.1387, allocations: 61.56 kB / 396.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1387, allocations: 4 kB / 396.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1388, allocations: 4.125 kB / 396.1 MB, free: 15.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.1388, allocations: 4 kB / 396.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.254e-05/0.1388, allocations: 0 / 396.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.1388, allocations: 0 / 396.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.326e-05/0.1389, allocations: 7.938 kB / 396.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1389, allocations: 0 / 396.1 MB, free: 15.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001079/0.139, allocations: 133.7 kB / 396.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.816e-05/0.1391, allocations: 45.61 kB / 396.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.1391, allocations: 11.89 kB / 396.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1391, allocations: 8 kB / 396.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1392, allocations: 0 / 396.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1392, allocations: 0 / 396.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.1394, allocations: 169.6 kB / 396.5 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.1394, allocations: 3.938 kB / 396.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.221e-05/0.1394, allocations: 4 kB / 396.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1394, allocations: 0 / 396.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1394, allocations: 0 / 396.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1394, allocations: 0 / 396.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1394, allocations: 0 / 396.5 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1396, allocations: 176.5 kB / 396.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.395e-05/0.1397, allocations: 93 kB / 396.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.1397, allocations: 4 kB / 396.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.288e-05/0.1398, allocations: 0 / 396.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1398, allocations: 0 / 396.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.1398, allocations: 4 kB / 396.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.1399, allocations: 103.2 kB / 396.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1399, allocations: 4 kB / 396.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1402, allocations: 4 kB / 396.9 MB, free: 14.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001162/0.1403, allocations: 99.25 kB / 397 MB, free: 14.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.1404, allocations: 27.92 kB / 397 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1404, allocations: 4 kB / 397 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.306e-05/0.1404, allocations: 4 kB / 397 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1408, allocations: 36.08 kB / 397.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.1412, allocations: 160.1 kB / 397.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1415, allocations: 0.6887 MB / 397.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.583e-05/0.1416, allocations: 3.984 kB / 397.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1416, allocations: 11.44 kB / 397.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1416, allocations: 4 kB / 397.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of Templates: time 0.002722/0.1443, allocations: 452.1 kB / 398.4 MB, free: 13.04 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches