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.001456/0.001455, allocations: 172.8 kB / 16.76 MB, free: 5.027 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.291/1.291, allocations: 205 MB / 222.5 MB, free: 9.066 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.0007222/0.0007222, allocations: 93.34 kB / 270.5 MB, free: 8.66 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.06514/0.06514, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06249/0.06282, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.001478/0.06433, allocations: 1.57 MB / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007334/0.06508, allocations: 0.6516 MB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.0652, allocations: 7.938 kB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.06535, allocations: 19.86 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.087e-05/0.06544, allocations: 19.84 kB / 444 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.06572, allocations: 83.86 kB / 444 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.06584, allocations: 135.6 kB / 444.2 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.06597, allocations: 57.7 kB / 444.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/0.06604, allocations: 43.72 kB / 444.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.06611, allocations: 43.72 kB / 444.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.06614, allocations: 0 / 444.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.442e-05/0.06616, allocations: 4 kB / 444.3 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.06621, allocations: 23.86 kB / 444.3 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.929e-05/0.06625, allocations: 55.55 kB / 444.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.151e-05/0.06634, allocations: 92.03 kB / 444.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.06635, allocations: 4 kB / 444.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.06636, allocations: 0 / 444.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.06637, allocations: 0 / 444.5 MB, free: 13.57 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.0004051/0.06678, allocations: 427.1 kB / 444.9 MB, free: 13.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.06681, allocations: 8.031 kB / 444.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.06686, allocations: 20.66 kB / 444.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.06705, allocations: 248.8 kB / 445.2 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.06707, allocations: 12.12 kB / 445.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.06709, allocations: 12 kB / 445.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.06758, allocations: 304 kB / 445.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.0676, allocations: 0 / 445.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.06762, allocations: 8 kB / 445.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.06763, allocations: 0 / 445.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.06782, allocations: 91.81 kB / 445.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.06813, allocations: 427.5 kB / 446 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.06849, allocations: 310.1 kB / 446.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.06865, allocations: 112.4 kB / 446.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.06868, allocations: 7.938 kB / 446.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.0687, allocations: 42.5 kB / 446.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.0687, allocations: 0 / 446.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004539/0.06916, allocations: 237.5 kB / 446.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/0.06923, allocations: 195.9 kB / 446.9 MB, free: 10.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.06934, allocations: 186.9 kB / 447.1 MB, free: 10.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.06936, allocations: 33.98 kB / 447.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.0694, allocations: 100.5 kB / 447.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.06942, allocations: 23.81 kB / 447.2 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/0.06945, allocations: 17.72 kB / 447.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.976e-05/0.0695, allocations: 334.8 kB / 447.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.06956, allocations: 27.92 kB / 447.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.06965, allocations: 140.3 kB / 447.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.0698, allocations: 182.4 kB / 447.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.06981, allocations: 0 / 447.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002194/0.07004, allocations: 181.3 kB / 448.1 MB, free: 9.488 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.07006, allocations: 8 kB / 448.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.07007, allocations: 4 kB / 448.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.07009, allocations: 4 kB / 448.1 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.0702, allocations: 39.92 kB / 448.2 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.07022, allocations: 7.984 kB / 448.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.068e-05/0.07031, allocations: 19.84 kB / 448.2 MB, free: 9.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.07033, allocations: 8.281 kB / 448.2 MB, free: 9.398 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 7.877e-05/0.07041, allocations: 146.6 kB / 448.3 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.07065, allocations: 149.3 kB / 448.5 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.025e-05/0.0707, allocations: 25.39 kB / 448.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.07071, allocations: 4 kB / 448.5 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.07072, allocations: 4.031 kB / 448.5 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.07073, allocations: 7.938 kB / 448.5 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.07093, allocations: 221.4 kB / 448.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.07094, allocations: 4 kB / 448.7 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.07107, allocations: 43.91 kB / 448.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.07108, allocations: 0 / 448.8 MB, free: 8.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.07109, allocations: 8 kB / 448.8 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.0711, allocations: 0 / 448.8 MB, free: 8.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.07111, allocations: 4 kB / 448.8 MB, free: 8.727 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.0714, allocations: 378.8 kB / 449.2 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.07147, allocations: 112.9 kB / 449.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.0715, allocations: 4 kB / 449.3 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.07165, allocations: 15.98 kB / 449.3 MB, free: 8.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.07168, allocations: 7.938 kB / 449.3 MB, free: 8.176 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/0.0717, allocations: 4 kB / 449.3 MB, free: 8.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.494e-05/0.07177, allocations: 141.1 kB / 449.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.07177, allocations: 0 / 449.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002838/0.07206, allocations: 24 kB / 449.5 MB, free: 8.012 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 6.791e-05/0.07213, allocations: 99.19 kB / 449.6 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.07237, allocations: 127.9 kB / 449.7 MB, free: 7.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.07238, allocations: 0 / 449.7 MB, free: 7.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.07242, allocations: 11.98 kB / 449.7 MB, free: 7.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005587/0.07299, allocations: 113.6 kB / 449.8 MB, free: 7.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.07345, allocations: 401.7 kB / 450.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000121/0.07359, allocations: 0.7241 MB / 450.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.07363, allocations: 19.44 kB / 450.9 MB, free: 6.453 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.07363, allocations: 0 / 450.9 MB, free: 6.453 MB / 298.7 MB Notification: Performance of Templates: time 0.002439/0.07608, allocations: 1.804 MB / 452.8 MB, free: 4.648 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