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.0007405/0.0007405, allocations: 97 kB / 17.31 MB, free: 6.391 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.0008014/0.0008015, allocations: 179 kB / 18.21 MB, free: 5.551 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.273/1.273, allocations: 223.3 MB / 242.3 MB, free: 232 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002232/0.0002232, allocations: 11.94 kB / 302.1 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07363/0.07387, allocations: 50.41 MB / 352.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001817/0.07571, allocations: 1.549 MB / 354 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008743/0.07661, allocations: 0.6041 MB / 354.6 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.07671, allocations: 7.938 kB / 354.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001064/0.07683, allocations: 15.86 kB / 354.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.754e-05/0.07693, allocations: 27.78 kB / 354.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.07724, allocations: 87.8 kB / 354.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.07741, allocations: 131.6 kB / 354.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.07755, allocations: 49.73 kB / 355 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.07764, allocations: 51.72 kB / 355 MB, free: 1.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.07773, allocations: 39.72 kB / 355.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.07775, allocations: 0 / 355.1 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.484e-05/0.07778, allocations: 4 kB / 355.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.929e-05/0.07783, allocations: 27.8 kB / 355.1 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.02e-05/0.0779, allocations: 77.31 kB / 355.2 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.07802, allocations: 91.78 kB / 355.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.07802, allocations: 0 / 355.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07803, allocations: 4 kB / 355.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.07804, allocations: 0 / 355.3 MB, free: 0.9336 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.0004888/0.07853, allocations: 435.3 kB / 355.7 MB, free: 472 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.07857, allocations: 8.031 kB / 355.7 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.07862, allocations: 16.75 kB / 355.7 MB, free: 448 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.07887, allocations: 245.6 kB / 355.9 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.0789, allocations: 8.125 kB / 355.9 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.771e-05/0.07892, allocations: 12 kB / 356 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.0795, allocations: 295.2 kB / 356.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.07952, allocations: 3.938 kB / 356.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.07954, allocations: 8 kB / 356.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.07955, allocations: 0 / 356.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002294/0.07979, allocations: 87.89 kB / 356.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.08021, allocations: 427.4 kB / 356.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000463/0.08068, allocations: 306 kB / 357.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.08089, allocations: 124.3 kB / 357.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.08092, allocations: 4 kB / 357.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.08096, allocations: 42.55 kB / 357.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.373e-06/0.08096, allocations: 0 / 357.2 MB, free: 14.69 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005624/0.08153, allocations: 237.5 kB / 357.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.735e-05/0.08164, allocations: 195.9 kB / 357.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.0818, allocations: 183.1 kB / 357.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.08183, allocations: 29.7 kB / 357.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.08189, allocations: 100.1 kB / 358 MB, free: 13.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.08192, allocations: 15.89 kB / 358 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.08196, allocations: 17.72 kB / 358 MB, free: 13.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.08206, allocations: 326.8 kB / 358.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.08214, allocations: 23.98 kB / 358.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.08227, allocations: 133.4 kB / 358.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.08248, allocations: 169.5 kB / 358.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.08249, allocations: 0 / 358.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002807/0.08278, allocations: 169.2 kB / 358.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.0828, allocations: 11.92 kB / 358.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.08282, allocations: 4 kB / 358.8 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.08283, allocations: 4 kB / 358.8 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.08296, allocations: 36.42 kB / 358.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.08298, allocations: 15.88 kB / 358.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.953e-05/0.08309, allocations: 15.84 kB / 358.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.08311, allocations: 12.38 kB / 358.9 MB, free: 12.84 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.0001021/0.08322, allocations: 133.8 kB / 359 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/0.08353, allocations: 157.2 kB / 359.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.08358, allocations: 29.39 kB / 359.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.0836, allocations: 4 kB / 359.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.0836, allocations: 0 / 359.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.08361, allocations: 0 / 359.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.08389, allocations: 217.6 kB / 359.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.0839, allocations: 0 / 359.4 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.08404, allocations: 39.92 kB / 359.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.08406, allocations: 3.938 kB / 359.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.08408, allocations: 16.02 kB / 359.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.08408, allocations: 0 / 359.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.08409, allocations: 4 kB / 359.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.08451, allocations: 365.2 kB / 359.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.08461, allocations: 120.8 kB / 360 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.08464, allocations: 7.938 kB / 360 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.08481, allocations: 23.98 kB / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.632e-05/0.08484, allocations: 0 / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-06/0.08486, allocations: 4 kB / 360 MB, free: 11.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.08497, allocations: 137.2 kB / 360.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08497, allocations: 0 / 360.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.08531, allocations: 20 kB / 360.1 MB, free: 11.47 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.0001043/0.08542, allocations: 103.2 kB / 360.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002772/0.0857, allocations: 123.7 kB / 360.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.08572, allocations: 0 / 360.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.227e-05/0.08577, allocations: 20.94 kB / 360.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/0.08646, allocations: 111.1 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/0.08731, allocations: 466.1 kB / 361 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.08757, allocations: 0.728 MB / 361.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.023e-05/0.08762, allocations: 19.38 kB / 361.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.08763, allocations: 0 / 361.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of Templates: time 0.00313/0.09077, allocations: 1.715 MB / 363.4 MB, free: 8.141 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 -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