Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001484/0.001484, allocations: 119.5 kB / 21.17 MB, free: 0.7305 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.001554/0.001554, allocations: 210.9 kB / 24.47 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 71.83 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2741, allocations: 53.3 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003183/0.2773, allocations: 1.672 MB / 433.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2784, allocations: 0.5843 MB / 434.3 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.2785, allocations: 7.938 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.699e-05/0.2786, allocations: 7.922 kB / 434.3 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.2787, allocations: 7.875 kB / 434.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003628/0.2791, allocations: 75.73 kB / 434.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.2792, allocations: 63.78 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2793, allocations: 16.22 kB / 434.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.2794, allocations: 27.92 kB / 434.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.846e-05/0.2795, allocations: 39.77 kB / 434.6 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.2795, allocations: 8 kB / 434.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.911e-05/0.2796, allocations: 12 kB / 434.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.057e-05/0.2796, allocations: 19.92 kB / 434.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.2797, allocations: 39.73 kB / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.2799, allocations: 85.12 kB / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2799, allocations: 0 / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2799, allocations: 0 / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2799, allocations: 0 / 434.7 MB, free: 4.688 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.0006195/0.2805, allocations: 399 kB / 435.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2806, allocations: 8.031 kB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000163/0.2807, allocations: 24.84 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.281, allocations: 212.6 kB / 435.3 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.281, allocations: 4.375 kB / 435.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.2811, allocations: 8.125 kB / 435.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.2814, allocations: 146.1 kB / 435.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2814, allocations: 3.984 kB / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.2814, allocations: 0 / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2814, allocations: 0 / 435.5 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.2815, allocations: 35.97 kB / 435.5 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.282, allocations: 305.5 kB / 435.8 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.2823, allocations: 154.2 kB / 436 MB, free: 3.223 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.2824, allocations: 41.73 kB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2824, allocations: 0 / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.2825, allocations: 75.34 kB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.492e-06/0.2825, allocations: 0 / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.00033/0.2829, allocations: 117.5 kB / 436.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.2829, allocations: 81.11 kB / 436.3 MB, free: 2.871 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2831, allocations: 149.7 kB / 436.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2831, allocations: 29.7 kB / 436.5 MB, free: 2.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/0.2832, allocations: 92.14 kB / 436.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.2832, allocations: 15.89 kB / 436.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.2832, allocations: 29.67 kB / 436.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2834, allocations: 322.8 kB / 436.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.2835, allocations: 23.92 kB / 436.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.2836, allocations: 65.14 kB / 437 MB, free: 2.105 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2837, allocations: 81.06 kB / 437.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2837, allocations: 0 / 437.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002096/0.2839, allocations: 117.5 kB / 437.2 MB, free: 1.887 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.2839, allocations: 4 kB / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.284, allocations: 4 kB / 437.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.284, allocations: 3.938 kB / 437.2 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.492e-05/0.2841, allocations: 19.92 kB / 437.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.2841, allocations: 3.938 kB / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.397e-05/0.2841, allocations: 4.156 kB / 437.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.2841, allocations: 12 kB / 437.3 MB, free: 1.836 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.0001195/0.2842, allocations: 123.7 kB / 437.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/0.2843, allocations: 61.58 kB / 437.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.2844, allocations: 12.55 kB / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.2844, allocations: 0 / 437.4 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.2844, allocations: 3.938 kB / 437.4 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2844, allocations: 3.984 kB / 437.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.2848, allocations: 350.8 kB / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2848, allocations: 64 / 437.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.2849, allocations: 19.92 kB / 437.8 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.2849, allocations: 3.938 kB / 437.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.2849, allocations: 8 kB / 437.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2849, allocations: 0 / 437.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2849, allocations: 0 / 437.8 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.2851, allocations: 204.2 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.2852, allocations: 101 kB / 438.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.2852, allocations: 0 / 438.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.2853, allocations: 11.98 kB / 438.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.2854, allocations: 0 / 438.1 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-06/0.2854, allocations: 4 kB / 438.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.492e-05/0.2854, allocations: 113.9 kB / 438.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2854, allocations: 0 / 438.2 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002396/0.2857, allocations: 19.95 kB / 438.3 MB, free: 0.7109 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.0001258/0.2858, allocations: 99.25 kB / 438.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.286, allocations: 67.84 kB / 438.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.286, allocations: 4 kB / 438.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.049e-05/0.2861, allocations: 15.98 kB / 438.5 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.2864, allocations: 35.94 kB / 438.5 MB, free: 492 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.2869, allocations: 246.2 kB / 438.7 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003815/0.2873, allocations: 0.7002 MB / 439.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.2873, allocations: 11.44 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2873, allocations: 0 / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of Templates: time 0.003006/0.2903, allocations: 1.08 MB / 440.5 MB, free: 14.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.6590218702331185]