Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001225, allocations: 89.8 kB / 16.65 MB, free: 6.59 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.001696/0.001696, allocations: 182.6 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.3 MB / 241.6 MB, free: 124 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000305/0.000305, allocations: 11.94 kB / 301.4 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 50.4 MB / 351.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002425/0.1335, allocations: 1.593 MB / 353.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1352, allocations: 0.9861 MB / 354.4 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.1354, allocations: 4 kB / 354.4 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006117/0.136, allocations: 151.6 kB / 354.6 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1363, allocations: 102.9 kB / 354.7 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.1369, allocations: 175.2 kB / 354.8 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.1371, allocations: 179.5 kB / 355 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1373, allocations: 33.55 kB / 355 MB, free: 492 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1374, allocations: 67.58 kB / 355.1 MB, free: 424 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.1375, allocations: 67.69 kB / 355.2 MB, free: 356 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.1376, allocations: 4 kB / 355.2 MB, free: 352 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1377, allocations: 39.97 kB / 355.2 MB, free: 312 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.1378, allocations: 39.78 kB / 355.3 MB, free: 272 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.578e-05/0.1379, allocations: 93.23 kB / 355.3 MB, free: 172 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1382, allocations: 183.7 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1382, allocations: 0 / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1382, allocations: 4 kB / 355.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1382, allocations: 0 / 355.5 MB, free: 15.98 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.000758/0.139, allocations: 496.2 kB / 356 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.139, allocations: 8.031 kB / 356 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.1391, allocations: 16.75 kB / 356 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1394, allocations: 266.8 kB / 356.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.1394, allocations: 8.312 kB / 356.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1395, allocations: 12.12 kB / 356.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.1398, allocations: 146.7 kB / 356.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1399, allocations: 0 / 356.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1399, allocations: 3.938 kB / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1399, allocations: 0 / 356.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.14, allocations: 47.89 kB / 356.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005271/0.1405, allocations: 350.4 kB / 356.9 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.1408, allocations: 119.8 kB / 357 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.1409, allocations: 42.56 kB / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.1409, allocations: 4 kB / 357 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.1411, allocations: 75.39 kB / 357.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.793e-06/0.1411, allocations: 0 / 357.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003701/0.1415, allocations: 137.3 kB / 357.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/0.1416, allocations: 140.5 kB / 357.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.1419, allocations: 256.9 kB / 357.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.1419, allocations: 33.95 kB / 357.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.142, allocations: 120.1 kB / 357.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.142, allocations: 19.81 kB / 357.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1421, allocations: 17.72 kB / 357.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1422, allocations: 334.8 kB / 358.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.911e-05/0.1423, allocations: 19.98 kB / 358.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1424, allocations: 74 kB / 358.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.1425, allocations: 76.16 kB / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1425, allocations: 0 / 358.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002006/0.1427, allocations: 109.5 kB / 358.4 MB, free: 12.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1428, allocations: 11.98 kB / 358.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1428, allocations: 320 / 358.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1428, allocations: 4 kB / 358.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.005e-05/0.1429, allocations: 15.94 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1429, allocations: 4 kB / 358.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.143, allocations: 15.92 kB / 358.4 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.143, allocations: 4 kB / 358.5 MB, free: 12.73 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 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.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.0001795/0.1432, allocations: 141.9 kB / 358.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.362e-05/0.1433, allocations: 65.3 kB / 358.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.832e-05/0.1433, allocations: 25.7 kB / 358.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1434, allocations: 7.984 kB / 358.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.1434, allocations: 0 / 358.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1434, allocations: 3.938 kB / 358.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.1436, allocations: 225.5 kB / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1436, allocations: 0 / 358.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.62e-05/0.1436, allocations: 7.984 kB / 358.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1437, allocations: 8 kB / 358.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1437, allocations: 7.938 kB / 358.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1437, allocations: 0 / 358.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1437, allocations: 0 / 358.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1439, allocations: 154.5 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.541e-05/0.144, allocations: 112.8 kB / 359.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.1441, allocations: 8 kB / 359.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.1441, allocations: 7.984 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1442, allocations: 0 / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1442, allocations: 11.94 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.1444, allocations: 196.5 kB / 359.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1444, allocations: 0 / 359.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1446, allocations: 31.98 kB / 359.4 MB, free: 11.62 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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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.0009606/0.1456, allocations: 429.6 kB / 359.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1458, allocations: 67.84 kB / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1458, allocations: 0 / 359.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.1459, allocations: 24 kB / 360 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.1463, allocations: 59.67 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.147, allocations: 356.3 kB / 360.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1473, allocations: 0.7244 MB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.339e-05/0.1474, allocations: 17.8 kB / 361.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.185e-05/0.1474, allocations: 23.42 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1474, allocations: 4 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Templates: time 0.005683/0.1531, allocations: 2.275 MB / 363.4 MB, free: 7.781 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches