Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009127/0.009127, allocations: 90.22 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.001926/0.001926, allocations: 197.4 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.826/1.826, allocations: 205.1 MB / 222.7 MB, free: 5.016 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.09658/0.09658, allocations: 12.58 MB / 282.6 MB, free: 9.137 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.001642/0.001642, allocations: 79.89 kB / 342.8 MB, free: 21.23 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1184, allocations: 49.39 MB / 392.2 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.003235/0.1217, allocations: 1.562 MB / 393.7 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004017/0.1221, allocations: 155.5 kB / 393.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.1222, allocations: 0 / 393.9 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.1224, allocations: 3.938 kB / 393.9 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.775e-05/0.1225, allocations: 15.92 kB / 393.9 MB, free: 2.004 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1227, allocations: 27.97 kB / 393.9 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.1228, allocations: 43.8 kB / 394 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.123, allocations: 12 kB / 394 MB, free: 1.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.123, allocations: 23.86 kB / 394 MB, free: 1.898 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.911e-05/0.123, allocations: 11.92 kB / 394 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.1231, allocations: 0 / 394 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.1231, allocations: 8 kB / 394 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.725e-05/0.1232, allocations: 19.91 kB / 394.1 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.1232, allocations: 23.81 kB / 394.1 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.163e-05/0.1233, allocations: 44.11 kB / 394.1 MB, free: 1.793 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1233, allocations: 4 kB / 394.1 MB, free: 1.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1233, allocations: 0 / 394.1 MB, free: 1.789 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.1233, allocations: 3.938 kB / 394.1 MB, free: 1.785 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.0004997/0.1238, allocations: 375.1 kB / 394.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1239, allocations: 8.031 kB / 394.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.1239, allocations: 8.844 kB / 394.5 MB, free: 1.352 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.1241, allocations: 200.1 kB / 394.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1242, allocations: 384 / 394.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1242, allocations: 4.375 kB / 394.7 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.1245, allocations: 118.5 kB / 394.8 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1245, allocations: 192 / 394.8 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1245, allocations: 7.938 kB / 394.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.1245, allocations: 0 / 394.8 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.164e-05/0.1246, allocations: 27.98 kB / 394.9 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.125, allocations: 365.8 kB / 395.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1251, allocations: 79.72 kB / 395.3 MB, free: 432 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.1253, allocations: 34.62 kB / 395.3 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.1253, allocations: 0 / 395.3 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1253, allocations: 38.56 kB / 395.4 MB, free: 340 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.344e-06/0.1253, allocations: 0 / 395.4 MB, free: 340 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002561/0.1256, allocations: 101.4 kB / 395.5 MB, free: 232 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.1257, allocations: 106.8 kB / 395.6 MB, free: 100 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.1258, allocations: 141.3 kB / 395.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1258, allocations: 29.7 kB / 395.8 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.1259, allocations: 92.08 kB / 395.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.1259, allocations: 3.906 kB / 395.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.1259, allocations: 17.72 kB / 395.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1261, allocations: 322.8 kB / 396.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/0.1261, allocations: 11.98 kB / 396.2 MB, free: 15.46 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-05/0.1262, allocations: 47.36 kB / 396.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.1263, allocations: 51.36 kB / 396.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1263, allocations: 3.938 kB / 396.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.1264, allocations: 77.45 kB / 396.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1265, allocations: 8 kB / 396.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1265, allocations: 0 / 396.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1265, allocations: 0 / 396.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.171e-05/0.1265, allocations: 8 kB / 396.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1265, allocations: 0 / 396.4 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.1266, allocations: 4 kB / 396.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1266, allocations: 0 / 396.4 MB, free: 15.23 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 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * 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.000142/0.1267, allocations: 129.9 kB / 396.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.1268, allocations: 53.53 kB / 396.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.1268, allocations: 11.88 kB / 396.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.1269, allocations: 0 / 396.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1269, allocations: 4 kB / 396.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1269, allocations: 0 / 396.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.1271, allocations: 181.6 kB / 396.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1271, allocations: 0 / 396.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-06/0.1271, allocations: 0 / 396.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1272, allocations: 4 kB / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1272, allocations: 4.031 kB / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1272, allocations: 0 / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1272, allocations: 0 / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.1274, allocations: 259.5 kB / 397 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.1275, allocations: 93 kB / 397.1 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1275, allocations: 8 kB / 397.1 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.1276, allocations: 7.969 kB / 397.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.1276, allocations: 4 kB / 397.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1276, allocations: 0 / 397.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.869e-05/0.1277, allocations: 107.2 kB / 397.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1277, allocations: 3.938 kB / 397.2 MB, free: 14.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.128, allocations: 11.94 kB / 397.2 MB, free: 14.27 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: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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 8.286e-05/0.1281, allocations: 91.25 kB / 397.3 MB, free: 14.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1282, allocations: 47.91 kB / 397.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1282, allocations: 0 / 397.4 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.286e-05/0.1283, allocations: 11.94 kB / 397.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.1287, allocations: 35.89 kB / 397.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.129, allocations: 193.2 kB / 397.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.1293, allocations: 0.6887 MB / 398.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.292e-05/0.1293, allocations: 11.98 kB / 398.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.1294, allocations: 11.38 kB / 398.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1294, allocations: 0 / 398.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of Templates: time 0.002498/0.1319, allocations: 0.5531 MB / 398.9 MB, free: 12.56 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches