Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007465/0.0007466, allocations: 89.64 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.000912/0.000912, allocations: 182.2 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.383/1.383, allocations: 223.3 MB / 241.6 MB, free: 116 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.000394, allocations: 7.938 kB / 301.4 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1233, allocations: 50.41 MB / 351.8 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.001876/0.1252, allocations: 1.319 MB / 353.2 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.1261, allocations: 498.8 kB / 353.6 MB, free: 1.879 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.1262, allocations: 7.938 kB / 353.6 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.1262, allocations: 0 / 353.6 MB, free: 1.871 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.1263, allocations: 11.86 kB / 353.7 MB, free: 1.859 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.1266, allocations: 47.89 kB / 353.7 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.1268, allocations: 51.78 kB / 353.8 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1269, allocations: 23.98 kB / 353.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.794e-05/0.127, allocations: 23.86 kB / 353.8 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.1271, allocations: 19.86 kB / 353.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.1271, allocations: 7.938 kB / 353.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.278e-05/0.1271, allocations: 0 / 353.8 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.1272, allocations: 15.92 kB / 353.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.1272, allocations: 53.5 kB / 353.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.1274, allocations: 59.72 kB / 354 MB, free: 1.555 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1274, allocations: 0 / 354 MB, free: 1.555 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.245e-06/0.1274, allocations: 0 / 354 MB, free: 1.555 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1274, allocations: 3.938 kB / 354 MB, free: 1.551 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000508/0.1279, allocations: 375.5 kB / 354.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1279, allocations: 8.031 kB / 354.3 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.128, allocations: 8.844 kB / 354.3 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.1282, allocations: 199.9 kB / 354.5 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1283, allocations: 4.375 kB / 354.5 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1283, allocations: 12.06 kB / 354.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/0.1286, allocations: 138.7 kB / 354.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1286, allocations: 0 / 354.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1286, allocations: 4 kB / 354.7 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.1286, allocations: 0 / 354.7 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1288, allocations: 31.92 kB / 354.7 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1292, allocations: 295.4 kB / 355 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1293, allocations: 90.48 kB / 355.1 MB, free: 212 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.36e-05/0.1294, allocations: 51.36 kB / 355.1 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1294, allocations: 4 kB / 355.2 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.1295, allocations: 34.56 kB / 355.2 MB, free: 100 kB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1295, allocations: 0 / 355.2 MB, free: 100 kB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003369/0.1298, allocations: 113.7 kB / 355.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/0.1299, allocations: 132.5 kB / 355.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.13, allocations: 137.8 kB / 355.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.1301, allocations: 25.7 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.1301, allocations: 104.4 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1301, allocations: 3.906 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.1302, allocations: 17.66 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1303, allocations: 318.8 kB / 356 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.1304, allocations: 16 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.1305, allocations: 48.28 kB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.1306, allocations: 60.22 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1306, allocations: 7.938 kB / 356.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001665/0.1308, allocations: 85.55 kB / 356.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1308, allocations: 4 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1308, allocations: 0 / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1308, allocations: 7.984 kB / 356.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.596e-05/0.1309, allocations: 8 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.131, allocations: 12.14 kB / 356.3 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.131, allocations: 11.84 kB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.131, allocations: 7.984 kB / 356.3 MB, free: 14.89 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.76e-05/0.1311, allocations: 121.8 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.127e-05/0.1312, allocations: 57.53 kB / 356.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.941e-05/0.1313, allocations: 11.88 kB / 356.5 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1313, allocations: 7.938 kB / 356.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.1313, allocations: 64 / 356.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1313, allocations: 7.938 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.1315, allocations: 177.6 kB / 356.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.1315, allocations: 8.125 kB / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.1316, allocations: 15.92 kB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1316, allocations: 4 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.1316, allocations: 0 / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.1316, allocations: 4 kB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1316, allocations: 0 / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.1319, allocations: 202 kB / 356.9 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.1319, allocations: 89 kB / 357 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.132, allocations: 11.98 kB / 357 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.132, allocations: 3.984 kB / 357 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.1321, allocations: 15.88 kB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.1321, allocations: 4 kB / 357 MB, free: 14.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.171e-05/0.1322, allocations: 108.8 kB / 357.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1322, allocations: 0 / 357.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1324, allocations: 12 kB / 357.1 MB, free: 13.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * 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.0001013/0.1325, allocations: 99.19 kB / 357.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1327, allocations: 51.91 kB / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1327, allocations: 0 / 357.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.1328, allocations: 12 kB / 357.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.1332, allocations: 34.7 kB / 357.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.1336, allocations: 236.3 kB / 357.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.1338, allocations: 0.6926 MB / 358.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.395e-05/0.1339, allocations: 19.86 kB / 358.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.1339, allocations: 15.44 kB / 358.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1339, allocations: 0 / 358.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Templates: time 0.00289/0.1368, allocations: 0.647 MB / 358.9 MB, free: 12.07 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches