Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001831/0.001831, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002195/0.002195, allocations: 213.9 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 59.91 kB / 379 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2536, allocations: 53.4 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003273/0.2569, allocations: 1.648 MB / 434 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2581, allocations: 0.5375 MB / 434.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.2582, allocations: 4 kB / 434.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.921e-05/0.2582, allocations: 11.86 kB / 434.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.2584, allocations: 15.88 kB / 434.6 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003652/0.2588, allocations: 71.73 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.2589, allocations: 71.77 kB / 434.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.259, allocations: 11.19 kB / 434.8 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.2592, allocations: 47.77 kB / 434.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.2592, allocations: 23.86 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.2592, allocations: 4 kB / 434.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.69e-05/0.2593, allocations: 12 kB / 434.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.066e-05/0.2593, allocations: 23.91 kB / 434.9 MB, free: 4.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.2594, allocations: 31.8 kB / 434.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.2596, allocations: 75.31 kB / 435 MB, free: 3.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2596, allocations: 4 kB / 435 MB, free: 3.945 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2596, allocations: 4 kB / 435 MB, free: 3.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.2596, allocations: 3.984 kB / 435 MB, free: 3.938 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.0005303/0.2601, allocations: 321.8 kB / 435.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.2602, allocations: 11.98 kB / 435.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.2603, allocations: 24.84 kB / 435.3 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.2606, allocations: 150.5 kB / 435.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2606, allocations: 384 / 435.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.2606, allocations: 20.12 kB / 435.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003285/0.261, allocations: 135.8 kB / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.261, allocations: 0 / 435.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.261, allocations: 7.938 kB / 435.6 MB, free: 3.215 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.261, allocations: 4 kB / 435.6 MB, free: 3.211 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.2611, allocations: 27.97 kB / 435.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.2616, allocations: 249.3 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2618, allocations: 69.14 kB / 436 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.2618, allocations: 33.8 kB / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.2619, allocations: 4 kB / 436 MB, free: 2.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.262, allocations: 71.28 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.262, allocations: 0 / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003121/0.2623, allocations: 117.5 kB / 436.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.2624, allocations: 93.09 kB / 436.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2625, allocations: 149.7 kB / 436.4 MB, free: 2.309 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.2626, allocations: 29.7 kB / 436.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.956e-05/0.2626, allocations: 92.12 kB / 436.6 MB, free: 2.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.2627, allocations: 15.91 kB / 436.6 MB, free: 2.164 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.276e-05/0.2627, allocations: 37.59 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.2629, allocations: 322.8 kB / 436.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.263, allocations: 16 kB / 436.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.603e-05/0.2631, allocations: 61.12 kB / 437 MB, free: 1.703 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.2633, allocations: 93.02 kB / 437.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2634, allocations: 4 kB / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000213/0.2636, allocations: 105.8 kB / 437.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2636, allocations: 14.64 kB / 437.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2636, allocations: 8.156 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2636, allocations: 4 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.795e-05/0.2637, allocations: 8 kB / 437.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.2637, allocations: 4 kB / 437.2 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.849e-05/0.2638, allocations: 15.92 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.2638, allocations: 4 kB / 437.3 MB, free: 1.426 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.0001206/0.2639, allocations: 133.9 kB / 437.4 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.001e-05/0.264, allocations: 49.64 kB / 437.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.179e-05/0.264, allocations: 12.41 kB / 437.5 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.264, allocations: 4 kB / 437.5 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.264, allocations: 7.984 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.264, allocations: 3.938 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.2644, allocations: 282.1 kB / 437.7 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.2644, allocations: 4 kB / 437.7 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.2644, allocations: 11.98 kB / 437.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.2644, allocations: 0 / 437.8 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.2644, allocations: 3.938 kB / 437.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2644, allocations: 3.938 kB / 437.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2645, allocations: 4 kB / 437.8 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.2647, allocations: 204.3 kB / 438 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.2647, allocations: 19.94 kB / 438 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.2648, allocations: 0 / 438 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.171e-05/0.2648, allocations: 7.938 kB / 438 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.2649, allocations: 7.938 kB / 438 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2649, allocations: 7.984 kB / 438 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.57e-05/0.265, allocations: 110.6 kB / 438.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.265, allocations: 0 / 438.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000241/0.2652, allocations: 19.95 kB / 438.1 MB, free: 484 kB / 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.0001309/0.2653, allocations: 99.33 kB / 438.2 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.2656, allocations: 67.84 kB / 438.3 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2656, allocations: 0 / 438.3 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.261e-05/0.2656, allocations: 23.92 kB / 438.3 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.266, allocations: 31.06 kB / 438.4 MB, free: 256 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.2664, allocations: 242.2 kB / 438.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.2666, allocations: 89.25 kB / 438.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.2666, allocations: 15.42 kB / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2666, allocations: 0 / 438.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of Templates: time 0.002891/0.2695, allocations: 1.086 MB / 439.8 MB, free: 14.77 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.716651678085327]