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.000768/0.000768, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.001878, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007168/0.0007168, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009395/0.001656, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9985/0.9985, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1235/1.122, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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 1.663e-06/1.663e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.036e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002597/0.002618, allocations: 1.744 MB / 246.8 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006339/0.003252, allocations: 0.584 MB / 247.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.942e-05/0.003321, allocations: 7.938 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.003358, allocations: 3.938 kB / 247.4 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.399e-05/0.003442, allocations: 23.84 kB / 247.4 MB, free: 11.26 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.003653, allocations: 63.69 kB / 247.4 MB, free: 11.2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.574e-05/0.003748, allocations: 71.7 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.782e-05/0.003826, allocations: 12.22 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.003939, allocations: 51.89 kB / 247.6 MB, free: 11.06 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.017e-05/0.003989, allocations: 23.91 kB / 247.6 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.004003, allocations: 4 kB / 247.6 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.026e-05/0.004053, allocations: 11.98 kB / 247.6 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/0.004088, allocations: 19.94 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.004112, allocations: 19.88 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.004225, allocations: 55.7 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.004236, allocations: 3.984 kB / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.004238, allocations: 0 / 247.7 MB, free: 10.92 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.004249, allocations: 0 / 247.7 MB, free: 10.92 MB / 250.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.0004468/0.004695, allocations: 312.2 kB / 248 MB, free: 10.59 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.004725, allocations: 12.62 kB / 248 MB, free: 10.58 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.004844, allocations: 98.03 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.004979, allocations: 146.1 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.004987, allocations: 4.375 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.004995, allocations: 4.375 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.005146, allocations: 142.2 kB / 248.4 MB, free: 10.13 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.005154, allocations: 7.938 kB / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.005161, allocations: 0 / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.005164, allocations: 0 / 248.4 MB, free: 10.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.653e-05/0.005191, allocations: 15.97 kB / 248.4 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.005406, allocations: 173 kB / 248.6 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.00551, allocations: 61.2 kB / 248.7 MB, free: 9.844 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.00553, allocations: 21.8 kB / 248.7 MB, free: 9.816 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.00555, allocations: 15.88 kB / 248.7 MB, free: 9.801 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.136e-05/0.005611, allocations: 51.41 kB / 248.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.005613, allocations: 0 / 248.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001037/0.005716, allocations: 73.78 kB / 248.8 MB, free: 9.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.005762, allocations: 81.11 kB / 248.9 MB, free: 9.562 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.005825, allocations: 142 kB / 249 MB, free: 9.414 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.005836, allocations: 29.7 kB / 249.1 MB, free: 9.379 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.005864, allocations: 92.06 kB / 249.2 MB, free: 9.285 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.00588, allocations: 15.89 kB / 249.2 MB, free: 9.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.005909, allocations: 33.64 kB / 249.2 MB, free: 9.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.005972, allocations: 322.8 kB / 249.5 MB, free: 8.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.005982, allocations: 4 kB / 249.5 MB, free: 8.902 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.006004, allocations: 34.56 kB / 249.6 MB, free: 8.859 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.68e-05/0.006041, allocations: 38.48 kB / 249.6 MB, free: 8.812 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.006044, allocations: 4 kB / 249.6 MB, free: 8.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 5.546e-05/0.006099, allocations: 61.61 kB / 249.7 MB, free: 8.742 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.00611, allocations: 11.94 kB / 249.7 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.006116, allocations: 0 / 249.7 MB, free: 8.73 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.006127, allocations: 4.062 kB / 249.7 MB, free: 8.727 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.006173, allocations: 11.98 kB / 249.7 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/0.006176, allocations: 0 / 249.7 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.006197, allocations: 4 kB / 249.7 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.0062, allocations: 0 / 249.7 MB, free: 8.711 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 6.151e-05/0.006262, allocations: 128.7 kB / 249.8 MB, free: 8.574 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.006292, allocations: 49.62 kB / 249.9 MB, free: 8.52 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.006316, allocations: 16.45 kB / 249.9 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.006319, allocations: 4 kB / 249.9 MB, free: 8.5 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.00632, allocations: 0 / 249.9 MB, free: 8.5 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006323, allocations: 4 kB / 249.9 MB, free: 8.496 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.00646, allocations: 210.8 kB / 250.1 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.006461, allocations: 3.938 kB / 250.1 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.006488, allocations: 12 kB / 250.1 MB, free: 8.25 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.00651, allocations: 19.89 kB / 250.1 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.006511, allocations: 0 / 250.1 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-06/0.006515, allocations: 0 / 250.1 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.006516, allocations: 128 / 250.1 MB, free: 8.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006518, allocations: 8 kB / 250.1 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.456e-05/0.006582, allocations: 156.4 kB / 250.3 MB, free: 8.051 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.006597, allocations: 4 kB / 250.3 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.088e-05/0.006628, allocations: 7.938 kB / 250.3 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.006648, allocations: 7.984 kB / 250.3 MB, free: 8.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.006652, allocations: 4 kB / 250.3 MB, free: 8.027 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.974e-05/0.006671, allocations: 28.83 kB / 250.4 MB, free: 7.996 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006671, allocations: 0 / 250.4 MB, free: 7.996 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001199/0.006791, allocations: 15.94 kB / 250.4 MB, free: 7.98 MB / 250.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,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 7.124e-05/0.006863, allocations: 76.42 kB / 250.4 MB, free: 7.895 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.653e-05/0.006929, allocations: 40.78 kB / 250.5 MB, free: 7.852 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.006933, allocations: 3.984 kB / 250.5 MB, free: 7.848 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.984e-05/0.006953, allocations: 16.98 kB / 250.5 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.007118, allocations: 38.42 kB / 250.5 MB, free: 7.789 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006092/0.007728, allocations: 210.6 kB / 250.7 MB, free: 7.555 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.159e-05/0.007759, allocations: 63.34 kB / 250.8 MB, free: 7.473 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.007783, allocations: 8.719 kB / 250.8 MB, free: 7.465 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.007831, allocations: 59.38 kB / 250.9 MB, free: 7.406 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.007831, allocations: 3.938 kB / 250.9 MB, free: 7.402 MB / 250.7 MB Notification: Performance of Templates: time 0.002535/0.01037, allocations: 0.8905 MB / 251.8 MB, free: 6.539 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6266681030392647]