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.001641/0.001641, allocations: 81.86 kB / 21.25 MB, free: 0.5469 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.001765/0.001765, allocations: 162.6 kB / 24.5 MB, free: 3.715 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.507/1.507, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.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.001969/0.001969, allocations: 57.94 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.117, allocations: 53.38 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.00342/0.1204, allocations: 1.651 MB / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1216, allocations: 0.5453 MB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1217, allocations: 4 kB / 381.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.614e-05/0.1218, allocations: 7.875 kB / 381.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.1219, allocations: 15.86 kB / 381.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.1223, allocations: 71.67 kB / 381.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.1225, allocations: 63.78 kB / 381.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.1226, allocations: 16.22 kB / 381.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.1227, allocations: 47.84 kB / 381.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.1228, allocations: 27.8 kB / 381.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.1228, allocations: 4 kB / 381.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.363e-05/0.1229, allocations: 11.98 kB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.123, allocations: 19.91 kB / 381.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.123, allocations: 27.81 kB / 381.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.1232, allocations: 83.58 kB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1232, allocations: 0 / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1232, allocations: 4 kB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1232, allocations: 0 / 381.5 MB, free: 12.86 MB / 350.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.0006334/0.1239, allocations: 321.9 kB / 381.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.1239, allocations: 11.98 kB / 381.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.1241, allocations: 24.83 kB / 381.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.1244, allocations: 154.8 kB / 382 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.1245, allocations: 4.375 kB / 382 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1245, allocations: 12.12 kB / 382 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.1249, allocations: 145 kB / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.1249, allocations: 0 / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1249, allocations: 0 / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1249, allocations: 7.938 kB / 382.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.125, allocations: 35.91 kB / 382.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.1255, allocations: 237.3 kB / 382.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.1257, allocations: 77.12 kB / 382.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.1259, allocations: 41.8 kB / 382.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1259, allocations: 4 kB / 382.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.126, allocations: 67.36 kB / 382.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.126, allocations: 0 / 382.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003105/0.1263, allocations: 113.6 kB / 382.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.1264, allocations: 89.03 kB / 382.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.1266, allocations: 148.6 kB / 383 MB, free: 11.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1266, allocations: 33.7 kB / 383 MB, free: 11.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.1267, allocations: 88.14 kB / 383.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1267, allocations: 23.83 kB / 383.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.1267, allocations: 29.67 kB / 383.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1269, allocations: 322.8 kB / 383.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.516e-05/0.127, allocations: 19.98 kB / 383.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.668e-05/0.127, allocations: 61.33 kB / 383.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.1272, allocations: 89.08 kB / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.1272, allocations: 4 kB / 383.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002125/0.1274, allocations: 121.4 kB / 383.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1274, allocations: 8 kB / 383.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1274, allocations: 0 / 383.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1275, allocations: 4 kB / 383.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.1275, allocations: 11.98 kB / 383.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1275, allocations: 8.156 kB / 383.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.1276, allocations: 7.938 kB / 383.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1276, allocations: 4 kB / 383.8 MB, free: 10.33 MB / 350.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.0001161/0.1277, allocations: 129.8 kB / 383.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.1278, allocations: 45.66 kB / 384 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.1278, allocations: 20.69 kB / 384 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1278, allocations: 7.984 kB / 384 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1278, allocations: 0 / 384 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1278, allocations: 3.938 kB / 384 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.1282, allocations: 282.1 kB / 384.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.1282, allocations: 7.984 kB / 384.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.1283, allocations: 8 kB / 384.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1283, allocations: 0 / 384.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1283, allocations: 4 kB / 384.3 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.1283, allocations: 3.938 kB / 384.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1283, allocations: 4 kB / 384.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.1285, allocations: 204.3 kB / 384.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.1286, allocations: 23.88 kB / 384.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1286, allocations: 0 / 384.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.772e-05/0.1287, allocations: 15.94 kB / 384.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1287, allocations: 3.984 kB / 384.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1287, allocations: 4 kB / 384.5 MB, free: 9.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.944e-05/0.1288, allocations: 114.4 kB / 384.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1288, allocations: 0 / 384.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1291, allocations: 19.95 kB / 384.7 MB, free: 9.375 MB / 350.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.000195/0.1293, allocations: 99.19 kB / 384.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.1295, allocations: 64.16 kB / 384.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1295, allocations: 4.062 kB / 384.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.955e-05/0.1295, allocations: 19.92 kB / 384.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.1299, allocations: 28 kB / 384.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004771/0.1303, allocations: 208.5 kB / 385.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001083/0.1305, allocations: 89.05 kB / 385.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.66e-05/0.1305, allocations: 8.5 kB / 385.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.1305, allocations: 16.5 kB / 385.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1305, allocations: 0 / 385.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of Templates: time 0.003601/0.1341, allocations: 0.8453 MB / 386 MB, free: 7.969 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 -s ida -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: 4.3751961989328265]