Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001649/0.001649, allocations: 173.4 kB / 16.8 MB, free: 5.012 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 223 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007393/0.0007393, allocations: 94.84 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07335/0.07335, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004078, allocations: 16.36 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.0878, allocations: 50.38 MB / 443.7 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001826/0.08968, allocations: 1.555 MB / 445.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009651/0.09067, allocations: 0.6361 MB / 445.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.09086, allocations: 7.938 kB / 445.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.091, allocations: 11.86 kB / 445.9 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.09113, allocations: 27.84 kB / 445.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003505/0.09149, allocations: 87.84 kB / 446 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001518/0.09165, allocations: 131.5 kB / 446.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.0918, allocations: 57.72 kB / 446.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.624e-05/0.0919, allocations: 43.72 kB / 446.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.09199, allocations: 39.72 kB / 446.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.09202, allocations: 0 / 446.3 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.99e-05/0.09205, allocations: 4 kB / 446.3 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.886e-05/0.09211, allocations: 23.86 kB / 446.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.09217, allocations: 81.3 kB / 446.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.753e-05/0.09228, allocations: 88.05 kB / 446.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.09229, allocations: 4 kB / 446.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.0923, allocations: 4 kB / 446.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.09231, allocations: 0 / 446.5 MB, free: 12.61 MB / 298.7 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.0004971/0.09281, allocations: 423.1 kB / 446.9 MB, free: 12.15 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.09285, allocations: 8.031 kB / 446.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.09291, allocations: 20.66 kB / 446.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.09315, allocations: 256.7 kB / 447.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.09318, allocations: 12.12 kB / 447.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.0932, allocations: 8 kB / 447.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.09372, allocations: 311.9 kB / 447.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.09375, allocations: 0 / 447.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/0.09377, allocations: 8 kB / 447.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.09378, allocations: 4 kB / 447.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.09399, allocations: 83.88 kB / 447.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.0944, allocations: 435.4 kB / 448 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.09478, allocations: 302.1 kB / 448.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.09496, allocations: 120.3 kB / 448.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.09499, allocations: 7.922 kB / 448.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.09502, allocations: 42.56 kB / 448.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.09503, allocations: 0 / 448.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005071/0.09554, allocations: 241.6 kB / 448.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.09562, allocations: 187.9 kB / 448.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.09575, allocations: 182.9 kB / 449.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.09578, allocations: 29.98 kB / 449.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/0.09583, allocations: 108.5 kB / 449.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.09585, allocations: 19.83 kB / 449.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.09586, allocations: 0 / 449.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.601e-05/0.09592, allocations: 330.8 kB / 449.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.149e-05/0.09599, allocations: 27.92 kB / 449.6 MB, free: 9.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.58e-05/0.09609, allocations: 143.3 kB / 449.7 MB, free: 8.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.09629, allocations: 182.4 kB / 449.9 MB, free: 8.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.0963, allocations: 0 / 449.9 MB, free: 8.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000241/0.09655, allocations: 181.5 kB / 450.1 MB, free: 8.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.09657, allocations: 8 kB / 450.1 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.09659, allocations: 8 kB / 450.1 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.09661, allocations: 4 kB / 450.1 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.09674, allocations: 39.92 kB / 450.1 MB, free: 8.492 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.09676, allocations: 7.938 kB / 450.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.09686, allocations: 27.77 kB / 450.2 MB, free: 8.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.09689, allocations: 8 kB / 450.2 MB, free: 8.449 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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 9.783e-05/0.09699, allocations: 142.8 kB / 450.3 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002483/0.09724, allocations: 153.4 kB / 450.5 MB, free: 8.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.21e-05/0.0973, allocations: 17.41 kB / 450.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.09731, allocations: 4.234 kB / 450.5 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.09732, allocations: 32 / 450.5 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.09733, allocations: 15.92 kB / 450.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.09755, allocations: 225.4 kB / 450.7 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.09756, allocations: 4 kB / 450.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.09769, allocations: 39.97 kB / 450.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.09771, allocations: 0 / 450.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.09773, allocations: 8 kB / 450.8 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.09773, allocations: 3.938 kB / 450.8 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.09774, allocations: 4 kB / 450.8 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.09808, allocations: 378.9 kB / 451.2 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.234e-05/0.09815, allocations: 104.9 kB / 451.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.09818, allocations: 8 kB / 451.3 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.09832, allocations: 12 kB / 451.3 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.09839, allocations: 11.92 kB / 451.3 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.789e-06/0.09841, allocations: 7.938 kB / 451.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.592e-05/0.09849, allocations: 141.1 kB / 451.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0985, allocations: 0 / 451.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002929/0.09879, allocations: 24 kB / 451.5 MB, free: 7.062 MB / 298.7 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: 1 (hold.compDelay.ubuf) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 8.704e-05/0.09889, allocations: 95.25 kB / 451.6 MB, free: 6.961 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.09915, allocations: 128.1 kB / 451.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.09917, allocations: 0 / 451.7 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.09921, allocations: 8 kB / 451.7 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006411/0.09986, allocations: 120.5 kB / 451.8 MB, free: 6.711 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.1005, allocations: 406 kB / 452.2 MB, free: 6.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001908/0.1007, allocations: 0.728 MB / 452.9 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.665e-05/0.1007, allocations: 19.44 kB / 452.9 MB, free: 5.5 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1007, allocations: 0 / 452.9 MB, free: 5.5 MB / 298.7 MB Notification: Performance of Templates: time 0.003131/0.1039, allocations: 1.806 MB / 454.8 MB, free: 3.691 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches