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.001216/0.001216, allocations: 111.9 kB / 18.45 MB, free: 4.586 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.001247/0.001247, allocations: 193.2 kB / 21.4 MB, free: 1.648 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.411/1.411, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.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.001486/0.001486, allocations: 51.92 kB / 366.8 MB, free: 400 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 52.14 MB / 419 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003314/0.1102, allocations: 1.641 MB / 420.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1113, allocations: 0.5104 MB / 421.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.1115, allocations: 7.938 kB / 421.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.135e-05/0.1115, allocations: 3.938 kB / 421.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001624/0.1117, allocations: 19.84 kB / 421.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1121, allocations: 55.83 kB / 421.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000165/0.1123, allocations: 59.78 kB / 421.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1124, allocations: 24.22 kB / 421.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1125, allocations: 31.91 kB / 421.3 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.1126, allocations: 35.78 kB / 421.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.1126, allocations: 4 kB / 421.4 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.569e-05/0.1126, allocations: 4 kB / 421.4 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.1127, allocations: 23.86 kB / 421.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.687e-05/0.1128, allocations: 35.8 kB / 421.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1129, allocations: 79.58 kB / 421.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1129, allocations: 0 / 421.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1129, allocations: 0 / 421.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1129, allocations: 0 / 421.5 MB, free: 9.605 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.0006402/0.1136, allocations: 405.3 kB / 421.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1136, allocations: 8.031 kB / 421.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.1137, allocations: 12.89 kB / 421.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.114, allocations: 200.1 kB / 422.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.114, allocations: 8.375 kB / 422.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.114, allocations: 4.375 kB / 422.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.1144, allocations: 155.5 kB / 422.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1144, allocations: 0 / 422.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1144, allocations: 0 / 422.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1144, allocations: 0 / 422.3 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.1146, allocations: 31.98 kB / 422.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.1151, allocations: 313.5 kB / 422.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.1153, allocations: 150.2 kB / 422.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.1154, allocations: 29.8 kB / 422.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.1154, allocations: 11.98 kB / 422.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.1156, allocations: 55.41 kB / 422.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1156, allocations: 3.938 kB / 422.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003128/0.1159, allocations: 117.5 kB / 423 MB, free: 7.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.68e-05/0.116, allocations: 89.09 kB / 423.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1161, allocations: 139.7 kB / 423.2 MB, free: 7.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.1161, allocations: 37.7 kB / 423.2 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.1162, allocations: 96.06 kB / 423.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.1162, allocations: 19.97 kB / 423.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.1163, allocations: 33.64 kB / 423.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1165, allocations: 326.8 kB / 423.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.1165, allocations: 16 kB / 423.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.106e-05/0.1166, allocations: 65.12 kB / 423.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.1168, allocations: 85.08 kB / 423.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1168, allocations: 0 / 423.9 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000216/0.117, allocations: 109.5 kB / 424 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.117, allocations: 10.33 kB / 424 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.117, allocations: 320 / 424 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.117, allocations: 4 kB / 424 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.1171, allocations: 11.94 kB / 424 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.1171, allocations: 8 kB / 424 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.1172, allocations: 16.14 kB / 424 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1172, allocations: 4.188 kB / 424 MB, free: 6.777 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.0001288/0.1173, allocations: 133.7 kB / 424.1 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.1174, allocations: 57.53 kB / 424.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.1174, allocations: 12.31 kB / 424.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1175, allocations: 4 kB / 424.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1175, allocations: 0 / 424.2 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1175, allocations: 3.984 kB / 424.2 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1179, allocations: 354.4 kB / 424.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1179, allocations: 0 / 424.6 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.1179, allocations: 11.94 kB / 424.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.118, allocations: 0 / 424.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.118, allocations: 3.984 kB / 424.6 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.118, allocations: 7.938 kB / 424.6 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.118, allocations: 3.938 kB / 424.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.1182, allocations: 196.3 kB / 424.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.369e-05/0.1183, allocations: 97 kB / 424.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1183, allocations: 11.98 kB / 424.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.1184, allocations: 0 / 424.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.1184, allocations: 7.938 kB / 424.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1185, allocations: 4 kB / 424.9 MB, free: 5.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.231e-05/0.1185, allocations: 107.2 kB / 425 MB, free: 5.668 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1185, allocations: 0 / 425 MB, free: 5.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.1188, allocations: 20 kB / 425 MB, free: 5.648 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.0001241/0.1189, allocations: 103.2 kB / 425.1 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.1191, allocations: 67.83 kB / 425.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1191, allocations: 0 / 425.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-05/0.1192, allocations: 16 kB / 425.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.1195, allocations: 26.36 kB / 425.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.12, allocations: 233.8 kB / 425.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1203, allocations: 0.7007 MB / 426.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.1204, allocations: 15.44 kB / 426.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1204, allocations: 4 kB / 426.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of Templates: time 0.002731/0.1231, allocations: 1.048 MB / 427.2 MB, free: 3.383 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.298314679879695]