Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 114.8 kB / 17.69 MB, free: 5.312 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.001459/0.001459, allocations: 191 kB / 18.63 MB, free: 4.379 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.391/1.391, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 52.14 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1179, allocations: 49.44 MB / 351.5 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003666/0.1216, allocations: 1.847 MB / 353.4 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.1229, allocations: 0.6273 MB / 354 MB, free: 1.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1231, allocations: 11.94 kB / 354 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.1233, allocations: 19.8 kB / 354 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.1234, allocations: 23.8 kB / 354 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.1239, allocations: 99.7 kB / 354.1 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000247/0.1241, allocations: 135.6 kB / 354.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.1243, allocations: 61.7 kB / 354.3 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1244, allocations: 55.72 kB / 354.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1245, allocations: 51.66 kB / 354.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1246, allocations: 11.98 kB / 354.4 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.1246, allocations: 12 kB / 354.5 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.1247, allocations: 23.92 kB / 354.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.1248, allocations: 67.61 kB / 354.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.125, allocations: 147.4 kB / 354.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.125, allocations: 3.984 kB / 354.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.125, allocations: 0 / 354.7 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.125, allocations: 0 / 354.7 MB, free: 0.4922 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007294/0.1258, allocations: 446.9 kB / 355.1 MB, free: 8 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.389e-05/0.1259, allocations: 15.94 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/0.126, allocations: 20.66 kB / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.1265, allocations: 245.7 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.506e-05/0.1265, allocations: 20.05 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.1265, allocations: 4 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.1272, allocations: 279.4 kB / 355.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1272, allocations: 0 / 355.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.1272, allocations: 11.88 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1272, allocations: 0 / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.1275, allocations: 79.88 kB / 355.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.1279, allocations: 427.4 kB / 356.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/0.1284, allocations: 298 kB / 356.5 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.1286, allocations: 112.3 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.1286, allocations: 4 kB / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.1287, allocations: 34.56 kB / 356.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.1287, allocations: 0 / 356.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.000549/0.1292, allocations: 221.2 kB / 356.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.1294, allocations: 192.2 kB / 357.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.1296, allocations: 187.1 kB / 357.2 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1296, allocations: 29.7 kB / 357.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.425e-05/0.1297, allocations: 100.1 kB / 357.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.1297, allocations: 12.28 kB / 357.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.1298, allocations: 37.61 kB / 357.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.13, allocations: 326.8 kB / 357.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.331e-05/0.13, allocations: 19.98 kB / 357.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.1302, allocations: 133.2 kB / 357.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1304, allocations: 165.5 kB / 358 MB, free: 12.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1304, allocations: 4 kB / 358 MB, free: 12.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002556/0.1307, allocations: 157.2 kB / 358.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.1307, allocations: 12.44 kB / 358.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1307, allocations: 8 kB / 358.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.1307, allocations: 4 kB / 358.2 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1309, allocations: 35.91 kB / 358.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1309, allocations: 7.938 kB / 358.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.259e-05/0.131, allocations: 15.94 kB / 358.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.131, allocations: 8 kB / 358.3 MB, free: 12.44 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001206/0.1311, allocations: 141.7 kB / 358.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.1314, allocations: 149.2 kB / 358.6 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.932e-05/0.1315, allocations: 29.62 kB / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1315, allocations: 0 / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.1315, allocations: 11.98 kB / 358.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1315, allocations: 0 / 358.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.1318, allocations: 209.6 kB / 358.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1319, allocations: 3.938 kB / 358.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.132, allocations: 39.91 kB / 358.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.132, allocations: 7.938 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.132, allocations: 4 kB / 358.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.132, allocations: 8.031 kB / 358.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.132, allocations: 0 / 358.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.1325, allocations: 361 kB / 359.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.1327, allocations: 108.8 kB / 359.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.1327, allocations: 11.94 kB / 359.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.1329, allocations: 7.984 kB / 359.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1329, allocations: 8 kB / 359.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1329, allocations: 4 kB / 359.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1331, allocations: 133.2 kB / 359.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1331, allocations: 0 / 359.5 MB, free: 11.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003223/0.1334, allocations: 20 kB / 359.5 MB, free: 11.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001209/0.1335, allocations: 103.2 kB / 359.6 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000289/0.1338, allocations: 116.7 kB / 359.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1338, allocations: 0 / 359.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.662e-05/0.1339, allocations: 20 kB / 359.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000624/0.1345, allocations: 103.9 kB / 359.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008257/0.1354, allocations: 371.4 kB / 360.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1357, allocations: 0.7163 MB / 360.9 MB, free: 9.609 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.023e-05/0.1358, allocations: 17.55 kB / 361 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.408e-05/0.1358, allocations: 19.44 kB / 361 MB, free: 9.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1358, allocations: 4 kB / 361 MB, free: 9.57 MB / 302.1 MB Notification: Performance of Templates: time 0.004667/0.1405, allocations: 1.671 MB / 362.6 MB, free: 7.922 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches