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.001159/0.001159, allocations: 175.4 kB / 16.45 MB, free: 5.684 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.35/1.35, allocations: 205.4 MB / 222.6 MB, free: 9.109 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.0008193/0.0008194, allocations: 96.72 kB / 270.9 MB, free: 8.355 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.06986/0.06986, allocations: 12.58 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003982/0.0003982, allocations: 12 kB / 392.7 MB, free: 66.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.08468, allocations: 50.37 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.00174/0.08648, allocations: 1.512 MB / 444.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.08739, allocations: 0.6364 MB / 445.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.08752, allocations: 7.938 kB / 445.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.08766, allocations: 11.86 kB / 445.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.08778, allocations: 19.86 kB / 445.2 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003167/0.0881, allocations: 87.84 kB / 445.3 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.08824, allocations: 123.6 kB / 445.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.08838, allocations: 41.72 kB / 445.5 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.855e-05/0.08846, allocations: 43.72 kB / 445.5 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.08855, allocations: 35.8 kB / 445.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.08858, allocations: 4 kB / 445.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.854e-05/0.0886, allocations: 4 kB / 445.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.08865, allocations: 27.84 kB / 445.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.301e-05/0.08868, allocations: 41.64 kB / 445.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.803e-05/0.08878, allocations: 96.03 kB / 445.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.0888, allocations: 0 / 445.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.08881, allocations: 0 / 445.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.08882, allocations: 0 / 445.7 MB, free: 13.08 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.0005226/0.08934, allocations: 430.9 kB / 446.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.08939, allocations: 12.03 kB / 446.1 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.08944, allocations: 19.72 kB / 446.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.08969, allocations: 235.6 kB / 446.4 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.08972, allocations: 8.188 kB / 446.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.08975, allocations: 8 kB / 446.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006004/0.09035, allocations: 307.9 kB / 446.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.09038, allocations: 0 / 446.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.0904, allocations: 8 kB / 446.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.09041, allocations: 0 / 446.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.09066, allocations: 99.81 kB / 446.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.09109, allocations: 419.4 kB / 447.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.09154, allocations: 322.1 kB / 447.5 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.09175, allocations: 112.2 kB / 447.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.09179, allocations: 8 kB / 447.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.09181, allocations: 38.56 kB / 447.7 MB, free: 10.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 2.464e-06/0.09182, allocations: 0 / 447.7 MB, free: 10.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005599/0.09239, allocations: 249 kB / 447.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.09247, allocations: 192.3 kB / 448.1 MB, free: 10.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.09261, allocations: 182.9 kB / 448.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.09263, allocations: 33.7 kB / 448.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.666e-05/0.09269, allocations: 104.5 kB / 448.4 MB, free: 10.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.09271, allocations: 19.83 kB / 448.5 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.09272, allocations: 4 kB / 448.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.09278, allocations: 322.8 kB / 448.8 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.09285, allocations: 27.98 kB / 448.8 MB, free: 9.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.962e-05/0.09296, allocations: 143.4 kB / 448.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.09305, allocations: 47.95 kB / 449 MB, free: 9.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.09306, allocations: 4 kB / 449 MB, free: 9.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002295/0.09329, allocations: 181 kB / 449.2 MB, free: 9.207 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.09332, allocations: 12.92 kB / 449.2 MB, free: 9.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.09333, allocations: 4 kB / 449.2 MB, free: 9.191 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.09336, allocations: 4 kB / 449.2 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.09348, allocations: 36.52 kB / 449.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.09349, allocations: 7.938 kB / 449.2 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-05/0.09359, allocations: 23.84 kB / 449.3 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.09361, allocations: 11.98 kB / 449.3 MB, free: 9.109 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.836e-05/0.0937, allocations: 142.4 kB / 449.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.09394, allocations: 153.4 kB / 449.6 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.094, allocations: 25.39 kB / 449.6 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.09401, allocations: 4 kB / 449.6 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.09401, allocations: 0 / 449.6 MB, free: 8.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.09402, allocations: 4 kB / 449.6 MB, free: 8.77 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.09423, allocations: 213.6 kB / 449.8 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.09424, allocations: 4 kB / 449.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.09437, allocations: 43.91 kB / 449.9 MB, free: 8.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.09438, allocations: 3.953 kB / 449.9 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.0944, allocations: 15.97 kB / 449.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.09441, allocations: 0 / 449.9 MB, free: 8.445 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.09441, allocations: 4 kB / 449.9 MB, free: 8.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003155/0.09473, allocations: 375 kB / 450.2 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.0948, allocations: 112.9 kB / 450.4 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.09483, allocations: 3.953 kB / 450.4 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.09497, allocations: 16 kB / 450.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.09502, allocations: 7.984 kB / 450.4 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.09503, allocations: 4.234 kB / 450.4 MB, free: 7.891 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.155e-05/0.09512, allocations: 141.1 kB / 450.5 MB, free: 7.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09512, allocations: 0 / 450.5 MB, free: 7.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002714/0.0954, allocations: 20 kB / 450.5 MB, free: 7.734 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.047e-05/0.09549, allocations: 99.25 kB / 450.6 MB, free: 7.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.09575, allocations: 127.7 kB / 450.8 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.09576, allocations: 0 / 450.8 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.0958, allocations: 20.98 kB / 450.8 MB, free: 7.484 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005732/0.09639, allocations: 110.1 kB / 450.9 MB, free: 7.379 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.09687, allocations: 398.3 kB / 451.3 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.09704, allocations: 0.728 MB / 452 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.09708, allocations: 19.44 kB / 452 MB, free: 6.176 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.09709, allocations: 0 / 452 MB, free: 6.176 MB / 298.7 MB Notification: Performance of Templates: time 0.002727/0.09982, allocations: 1.795 MB / 453.8 MB, free: 4.379 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