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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|triggeredSampler.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 112.2 kB / 16.51 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 190.5 kB / 17.43 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 43.03 kB / 300 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1245, allocations: 49.44 MB / 349.4 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003636/0.1282, allocations: 1.694 MB / 351.1 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1292, allocations: 0.5026 MB / 351.6 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1294, allocations: 7.938 kB / 351.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.066e-05/0.1295, allocations: 4 kB / 351.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1296, allocations: 11.86 kB / 351.6 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.13, allocations: 51.89 kB / 351.7 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001243/0.1301, allocations: 55.84 kB / 351.7 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1303, allocations: 24.16 kB / 351.7 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.516e-05/0.1304, allocations: 27.91 kB / 351.8 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.1305, allocations: 23.86 kB / 351.8 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.1305, allocations: 11.94 kB / 351.8 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/0.1305, allocations: 4 kB / 351.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.607e-05/0.1306, allocations: 15.92 kB / 351.8 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.1307, allocations: 35.73 kB / 351.9 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.1308, allocations: 67.72 kB / 351.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1308, allocations: 4 kB / 351.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1308, allocations: 0 / 351.9 MB, free: 2.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1308, allocations: 4 kB / 351.9 MB, free: 2.277 MB / 286.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.0006288/0.1315, allocations: 387.4 kB / 352.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.1315, allocations: 16.03 kB / 352.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.434e-05/0.1316, allocations: 12.83 kB / 352.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.1319, allocations: 207.9 kB / 352.5 MB, free: 1.582 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1319, allocations: 4.375 kB / 352.5 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1319, allocations: 8.375 kB / 352.6 MB, free: 1.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.1323, allocations: 141.3 kB / 352.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1323, allocations: 0 / 352.7 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1324, allocations: 4 kB / 352.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.1324, allocations: 0 / 352.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.1325, allocations: 31.92 kB / 352.7 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.1332, allocations: 321.5 kB / 353 MB, free: 1.012 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1335, allocations: 150.2 kB / 353.2 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.1336, allocations: 37.8 kB / 353.2 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1336, allocations: 7.984 kB / 353.2 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.1338, allocations: 71.34 kB / 353.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.1338, allocations: 0 / 353.3 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003563/0.1342, allocations: 113.5 kB / 353.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.348e-05/0.1343, allocations: 89.05 kB / 353.5 MB, free: 484 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1344, allocations: 136.6 kB / 353.6 MB, free: 340 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1344, allocations: 29.7 kB / 353.7 MB, free: 304 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.263e-05/0.1345, allocations: 100 kB / 353.8 MB, free: 200 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.1345, allocations: 11.91 kB / 353.8 MB, free: 188 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.1346, allocations: 29.61 kB / 353.8 MB, free: 152 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1348, allocations: 326.8 kB / 354.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.1348, allocations: 20 kB / 354.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.1349, allocations: 61.12 kB / 354.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.1351, allocations: 81.08 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1351, allocations: 3.938 kB / 354.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002035/0.1353, allocations: 117.5 kB / 354.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1353, allocations: 11.92 kB / 354.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1353, allocations: 0 / 354.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1353, allocations: 4 kB / 354.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.1354, allocations: 8 kB / 354.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1354, allocations: 11.92 kB / 354.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.1355, allocations: 11.98 kB / 354.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1355, allocations: 4.156 kB / 354.4 MB, free: 15.45 MB / 302.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.0001047/0.1356, allocations: 133.7 kB / 354.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.1357, allocations: 57.59 kB / 354.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.754e-05/0.1358, allocations: 8.312 kB / 354.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1358, allocations: 4 kB / 354.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1358, allocations: 3.984 kB / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1358, allocations: 0 / 354.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.1362, allocations: 346.7 kB / 355 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1362, allocations: 4 kB / 355 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.1363, allocations: 16.06 kB / 355 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1363, allocations: 0 / 355 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1363, allocations: 3.984 kB / 355 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1363, allocations: 4 kB / 355 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1363, allocations: 3.938 kB / 355 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1365, allocations: 200.1 kB / 355.2 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.1366, allocations: 97.23 kB / 355.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1367, allocations: 7.984 kB / 355.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.1367, allocations: 4 kB / 355.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.1368, allocations: 7.922 kB / 355.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.1368, allocations: 4 kB / 355.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.619e-05/0.1369, allocations: 107.2 kB / 355.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.234e-06/0.1369, allocations: 0 / 355.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.1371, allocations: 19.94 kB / 355.5 MB, free: 14.32 MB / 302.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.0001566/0.1373, allocations: 107.2 kB / 355.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1375, allocations: 63.91 kB / 355.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1375, allocations: 4 kB / 355.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.1376, allocations: 19.94 kB / 355.6 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.138, allocations: 21.52 kB / 355.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.1384, allocations: 246 kB / 355.9 MB, free: 13.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1387, allocations: 0.6966 MB / 356.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.104e-05/0.1388, allocations: 12.61 kB / 356.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.1388, allocations: 19.42 kB / 356.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1389, allocations: 0 / 356.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Templates: time 0.003482/0.1423, allocations: 0.7346 MB / 357.4 MB, free: 12.36 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches