Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.3 MB / 235.5 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001061, allocations: 87.75 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.14e-05/2.151e-05, allocations: 4 kB / 343.8 MB, free: 4.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08309/0.08312, allocations: 50.42 MB / 394.3 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2732/0.3564, allocations: 77.53 MB / 471.8 MB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.3566, allocations: 79.95 kB / 471.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004354/0.361, allocations: 1.675 MB / 473.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.361, allocations: 0 / 473.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.361, allocations: 15.88 kB / 473.5 MB, free: 8.301 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003533/0.3614, allocations: 366.9 kB / 473.9 MB, free: 7.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3614, allocations: 8.031 kB / 473.9 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.3615, allocations: 19.77 kB / 473.9 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3617, allocations: 194.9 kB / 474.1 MB, free: 7.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3617, allocations: 8 kB / 474.1 MB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.3617, allocations: 4 kB / 474.1 MB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.362, allocations: 142.2 kB / 474.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.362, allocations: 0 / 474.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.362, allocations: 7.953 kB / 474.3 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.362, allocations: 0 / 474.3 MB, free: 7.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.054e-05/0.3621, allocations: 20 kB / 474.3 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.3625, allocations: 309.6 kB / 474.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001909/0.3627, allocations: 146.3 kB / 474.7 MB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.3628, allocations: 33.72 kB / 474.8 MB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.3628, allocations: 8.172 kB / 474.8 MB, free: 6.863 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.449e-05/0.3629, allocations: 67.34 kB / 474.9 MB, free: 6.785 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3629, allocations: 0 / 474.9 MB, free: 6.785 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000176/0.3631, allocations: 85.44 kB / 474.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.3631, allocations: 85.11 kB / 475 MB, free: 6.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.773e-05/0.3632, allocations: 135.5 kB / 475.1 MB, free: 6.457 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3633, allocations: 29.7 kB / 475.2 MB, free: 6.422 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.3633, allocations: 84.14 kB / 475.3 MB, free: 6.336 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3633, allocations: 19.8 kB / 475.3 MB, free: 6.316 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.3634, allocations: 4 kB / 475.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.3635, allocations: 318.8 kB / 475.6 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/0.3635, allocations: 16 kB / 475.6 MB, free: 5.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.026e-05/0.3636, allocations: 57.16 kB / 475.7 MB, free: 5.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.795e-05/0.3636, allocations: 23.92 kB / 475.7 MB, free: 5.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3636, allocations: 3.953 kB / 475.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001501/0.3638, allocations: 105.5 kB / 475.8 MB, free: 5.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.3638, allocations: 4 kB / 475.8 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3638, allocations: 0 / 475.8 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3638, allocations: 11.92 kB / 475.8 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.554e-05/0.3639, allocations: 12 kB / 475.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3639, allocations: 0 / 475.8 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.803e-05/0.364, allocations: 11.98 kB / 475.8 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.364, allocations: 4 kB / 475.8 MB, free: 5.723 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,clockToTrigger.y,$PRE.clockToTrigger.y3,clockToTrigger.y3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 6.203e-05/0.3641, allocations: 117 kB / 476 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.401e-05/0.3642, allocations: 57.55 kB / 476 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.3642, allocations: 12.19 kB / 476 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3642, allocations: 3.984 kB / 476 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3642, allocations: 0 / 476 MB, free: 5.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.3642, allocations: 4 kB / 476 MB, free: 5.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.3645, allocations: 334.6 kB / 476.4 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3645, allocations: 3.984 kB / 476.4 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.004e-05/0.3646, allocations: 12 kB / 476.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3646, allocations: 8 kB / 476.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3646, allocations: 0 / 476.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3646, allocations: 0 / 476.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3646, allocations: 0 / 476.4 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.3648, allocations: 205.8 kB / 476.6 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.733e-05/0.3649, allocations: 101 kB / 476.7 MB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.966e-05/0.3649, allocations: 11.92 kB / 476.7 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.365, allocations: 4 kB / 476.7 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.365, allocations: 8 kB / 476.7 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3651, allocations: 3.984 kB / 476.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.522e-05/0.3651, allocations: 114.1 kB / 476.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3651, allocations: 0 / 476.8 MB, free: 4.637 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002184/0.3654, allocations: 19.95 kB / 476.8 MB, free: 4.617 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (clockToTrigger.y2,clockToTrigger.y,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001069/0.3655, allocations: 99.25 kB / 476.9 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.3656, allocations: 51.94 kB / 477 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3656, allocations: 0 / 477 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.3657, allocations: 23.92 kB / 477 MB, free: 4.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.3659, allocations: 21.56 kB / 477 MB, free: 4.414 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002539/0.3661, allocations: 134.6 kB / 477.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3664, allocations: 0.7047 MB / 477.9 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.971e-05/0.3665, allocations: 8.656 kB / 477.9 MB, free: 3.512 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.3665, allocations: 15.44 kB / 477.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3665, allocations: 0 / 477.9 MB, free: 3.496 MB / 346.7 MB Notification: Performance of Templates: time 0.002562/0.3691, allocations: 0.7103 MB / 478.6 MB, free: 2.801 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches