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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.AssignClockToTriggerHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,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=5010,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 47.92 kB / 371.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2451, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003157/0.2482, allocations: 1.647 MB / 425.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009681/0.2492, allocations: 482.7 kB / 425.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.2493, allocations: 7.938 kB / 425.9 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.193e-05/0.2493, allocations: 7.938 kB / 426 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.2495, allocations: 19.86 kB / 426 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.2498, allocations: 50.2 kB / 426 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.2499, allocations: 67.78 kB / 426.1 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.25, allocations: 27.16 kB / 426.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.715e-05/0.2501, allocations: 27.86 kB / 426.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.2502, allocations: 27.8 kB / 426.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2502, allocations: 4 kB / 426.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.2502, allocations: 4 kB / 426.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.2503, allocations: 27.91 kB / 426.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.2503, allocations: 31.8 kB / 426.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2505, allocations: 75.36 kB / 426.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2505, allocations: 4 kB / 426.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2505, allocations: 0 / 426.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2505, allocations: 0 / 426.3 MB, free: 11.98 MB / 334.1 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.0005326/0.251, allocations: 321.8 kB / 426.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.251, allocations: 11.97 kB / 426.6 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.2511, allocations: 12.89 kB / 426.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002608/0.2513, allocations: 146.3 kB / 426.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2513, allocations: 12.36 kB / 426.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.2514, allocations: 4.375 kB / 426.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.2517, allocations: 140.7 kB / 426.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.2517, allocations: 0 / 426.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.2517, allocations: 0 / 426.9 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2517, allocations: 4 kB / 427 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.2518, allocations: 39.91 kB / 427 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.2523, allocations: 241.3 kB / 427.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.2525, allocations: 73.14 kB / 427.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.733e-05/0.2525, allocations: 33.8 kB / 427.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.2526, allocations: 7.984 kB / 427.3 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001148/0.2527, allocations: 55.41 kB / 427.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.2527, allocations: 0 / 427.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000327/0.253, allocations: 125.5 kB / 427.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/0.2531, allocations: 85.09 kB / 427.6 MB, free: 10.54 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.2532, allocations: 148.3 kB / 427.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2532, allocations: 33.64 kB / 427.8 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.2533, allocations: 92.12 kB / 427.9 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.2533, allocations: 23.91 kB / 427.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.2534, allocations: 29.7 kB / 427.9 MB, free: 10.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.2535, allocations: 322.8 kB / 428.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.634e-05/0.2536, allocations: 19.98 kB / 428.3 MB, free: 9.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.107e-05/0.2536, allocations: 69.06 kB / 428.3 MB, free: 9.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.2538, allocations: 85.33 kB / 428.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2538, allocations: 0 / 428.4 MB, free: 9.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002156/0.254, allocations: 109.7 kB / 428.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.254, allocations: 8 kB / 428.5 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.254, allocations: 7.984 kB / 428.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2541, allocations: 0 / 428.5 MB, free: 9.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.676e-05/0.2541, allocations: 19.94 kB / 428.5 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2541, allocations: 3.984 kB / 428.6 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.63e-05/0.2542, allocations: 7.984 kB / 428.6 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.2542, allocations: 4 kB / 428.6 MB, free: 9.496 MB / 334.1 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 (triggeredSampler.y,$PRE.triggeredSampler.y,clockToTrigger.y3,$PRE.clockToTrigger.y3,triggeredSampler.trigger,$whenCondition1,$CLKPRE.clockToTrigger.y2,clockToTrigger.y2) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.2543, allocations: 125.8 kB / 428.7 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.615e-05/0.2544, allocations: 61.53 kB / 428.7 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.51e-05/0.2544, allocations: 16.41 kB / 428.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2544, allocations: 0 / 428.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2544, allocations: 0 / 428.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.2544, allocations: 7.984 kB / 428.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.2548, allocations: 282.1 kB / 429 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2548, allocations: 0 / 429 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.862e-05/0.2548, allocations: 11.98 kB / 429.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2548, allocations: 0 / 429.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.2549, allocations: 4 kB / 429.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2549, allocations: 0 / 429.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2549, allocations: 0 / 429.1 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.2551, allocations: 208.2 kB / 429.3 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.2552, allocations: 23.95 kB / 429.3 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.2552, allocations: 11.98 kB / 429.3 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.132e-05/0.2553, allocations: 0 / 429.3 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.2553, allocations: 8 kB / 429.3 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2553, allocations: 8.078 kB / 429.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.046e-05/0.2554, allocations: 111.1 kB / 429.4 MB, free: 8.559 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2554, allocations: 0 / 429.4 MB, free: 8.559 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002449/0.2556, allocations: 16 kB / 429.4 MB, free: 8.543 MB / 334.1 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,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * 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 (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.0001195/0.2558, allocations: 107.4 kB / 429.5 MB, free: 8.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002097/0.256, allocations: 59.91 kB / 429.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.256, allocations: 4 kB / 429.6 MB, free: 8.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.297e-05/0.256, allocations: 19.92 kB / 429.6 MB, free: 8.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.2564, allocations: 35.53 kB / 429.7 MB, free: 8.316 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.2568, allocations: 229.7 kB / 429.9 MB, free: 8.059 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.981e-05/0.2569, allocations: 93.3 kB / 430 MB, free: 7.945 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.2569, allocations: 11.44 kB / 430 MB, free: 7.934 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.257, allocations: 0 / 430 MB, free: 7.934 MB / 334.1 MB Notification: Performance of Templates: time 0.00287/0.2598, allocations: 1.078 MB / 431.1 MB, free: 6.863 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.809222116135061]