Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.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 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.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.00114/0.00114, allocations: 103.6 kB / 17.59 MB, free: 5.562 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.001225/0.001225, allocations: 191.6 kB / 18.52 MB, free: 4.641 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.505/1.505, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 51.95 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09641, allocations: 49.44 MB / 350.7 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample): time 0.003902/0.1003, allocations: 1.895 MB / 352.6 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1023, allocations: 1.06 MB / 353.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.1025, allocations: 3.938 kB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006674/0.1032, allocations: 150.2 kB / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.1036, allocations: 111.6 kB / 353.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006485/0.1042, allocations: 210.9 kB / 354.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.1045, allocations: 179.5 kB / 354.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1047, allocations: 41.47 kB / 354.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.1048, allocations: 67.66 kB / 354.4 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.1049, allocations: 71.69 kB / 354.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.105, allocations: 8 kB / 354.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.1051, allocations: 55.95 kB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.107e-05/0.1052, allocations: 47.78 kB / 354.6 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1053, allocations: 67.55 kB / 354.7 MB, free: 480 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.1057, allocations: 199.7 kB / 354.9 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1057, allocations: 4 kB / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.1057, allocations: 0 / 354.9 MB, free: 276 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1057, allocations: 3.938 kB / 354.9 MB, free: 272 kB / 286.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.000845/0.1066, allocations: 0.5001 MB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1066, allocations: 11.89 kB / 355.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.1067, allocations: 20.69 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/0.1071, allocations: 266.8 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.1071, allocations: 8.359 kB / 355.7 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1071, allocations: 16.12 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003353/0.1075, allocations: 142.7 kB / 355.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1075, allocations: 4 kB / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1075, allocations: 0 / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.1075, allocations: 0 / 355.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1076, allocations: 39.92 kB / 355.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.1081, allocations: 362.3 kB / 356.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.1084, allocations: 111.9 kB / 356.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.1085, allocations: 42.56 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.1085, allocations: 4 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.1087, allocations: 75.39 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.1087, allocations: 3.938 kB / 356.5 MB, free: 14.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003627/0.1091, allocations: 133.4 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.1092, allocations: 132.5 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.1095, allocations: 264.9 kB / 357 MB, free: 13.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1095, allocations: 29.95 kB / 357 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.1096, allocations: 116.1 kB / 357.1 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.1096, allocations: 23.73 kB / 357.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.1097, allocations: 29.72 kB / 357.2 MB, free: 13.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1098, allocations: 334.8 kB / 357.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.1099, allocations: 16 kB / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.11, allocations: 81.92 kB / 357.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.1101, allocations: 68.23 kB / 357.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1101, allocations: 3.984 kB / 357.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002139/0.1103, allocations: 113.5 kB / 357.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1104, allocations: 11.88 kB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1104, allocations: 3.938 kB / 357.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1104, allocations: 7.984 kB / 357.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.553e-05/0.1105, allocations: 8 kB / 357.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1105, allocations: 4 kB / 357.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.14e-05/0.1106, allocations: 16.16 kB / 357.8 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1106, allocations: 4 kB / 357.8 MB, free: 12.98 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,table.y,superSample1.y,superSample1.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.0001325/0.1107, allocations: 154.4 kB / 358 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.228e-05/0.1108, allocations: 61.5 kB / 358 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.1109, allocations: 25.7 kB / 358.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1109, allocations: 0 / 358.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1109, allocations: 0 / 358.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1109, allocations: 3.938 kB / 358.1 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.1111, allocations: 229.6 kB / 358.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1111, allocations: 0 / 358.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.1112, allocations: 11.92 kB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1112, allocations: 4.062 kB / 358.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.1112, allocations: 4 kB / 358.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1112, allocations: 0 / 358.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1112, allocations: 0 / 358.3 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.1115, allocations: 158.4 kB / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.303e-05/0.1116, allocations: 108.9 kB / 358.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.1116, allocations: 8 kB / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.1117, allocations: 0 / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.611e-05/0.1117, allocations: 11.97 kB / 358.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1117, allocations: 7.938 kB / 358.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001877/0.1119, allocations: 196.5 kB / 358.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1119, allocations: 0 / 358.8 MB, free: 11.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1122, allocations: 28 kB / 358.8 MB, free: 11.87 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,superSample1.y,sample1.y,superSample1.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.0009598/0.1132, allocations: 425.3 kB / 359.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.1134, allocations: 67.84 kB / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1134, allocations: 0 / 359.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.917e-05/0.1135, allocations: 24 kB / 359.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1139, allocations: 64.3 kB / 359.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.1145, allocations: 354.8 kB / 359.7 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1148, allocations: 0.7202 MB / 360.5 MB, free: 10.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.1149, allocations: 27.42 kB / 360.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1149, allocations: 0 / 360.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.004795/0.1197, allocations: 2.587 MB / 363.1 MB, free: 7.727 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches