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.001408/0.001408, allocations: 110.9 kB / 17.68 MB, free: 5.355 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.001524/0.001524, allocations: 192 kB / 18.62 MB, free: 4.434 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.464/1.464, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 50.92 kB / 302.1 MB, free: 5.156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1189, allocations: 49.44 MB / 351.5 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003415/0.1224, allocations: 1.624 MB / 353.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000995/0.1234, allocations: 0.5065 MB / 353.6 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.1236, allocations: 7.938 kB / 353.6 MB, free: 1.531 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.197e-05/0.1236, allocations: 3.938 kB / 353.6 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1238, allocations: 19.86 kB / 353.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.1241, allocations: 54.58 kB / 353.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1243, allocations: 67.77 kB / 353.8 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1244, allocations: 24.22 kB / 353.8 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.496e-05/0.1245, allocations: 27.86 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.196e-05/0.1246, allocations: 35.78 kB / 353.9 MB, free: 1.301 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1246, allocations: 4 kB / 353.9 MB, free: 1.297 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.1246, allocations: 4 kB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.048e-05/0.1247, allocations: 27.91 kB / 353.9 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/0.1248, allocations: 31.75 kB / 353.9 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1249, allocations: 75.7 kB / 354 MB, free: 1.16 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.125, allocations: 0 / 354 MB, free: 1.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.125, allocations: 0 / 354 MB, free: 1.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.125, allocations: 8 kB / 354 MB, free: 1.152 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.0005791/0.1256, allocations: 387 kB / 354.4 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1256, allocations: 15.97 kB / 354.4 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.133e-05/0.1257, allocations: 8.844 kB / 354.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1259, allocations: 211.9 kB / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.126, allocations: 4.375 kB / 354.6 MB, free: 464 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.126, allocations: 8.375 kB / 354.6 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1263, allocations: 141.3 kB / 354.8 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1263, allocations: 0 / 354.8 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1264, allocations: 8 kB / 354.8 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1264, allocations: 0 / 354.8 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1265, allocations: 31.92 kB / 354.8 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.127, allocations: 317.5 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.1273, allocations: 154.2 kB / 355.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.1274, allocations: 41.78 kB / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.1275, allocations: 3.984 kB / 355.3 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.1276, allocations: 59.41 kB / 355.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1276, allocations: 0 / 355.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000355/0.1279, allocations: 117.5 kB / 355.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.128, allocations: 89.11 kB / 355.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1282, allocations: 144.7 kB / 355.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1282, allocations: 25.7 kB / 355.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.1283, allocations: 100 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.1283, allocations: 11.97 kB / 355.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.1284, allocations: 37.61 kB / 355.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1285, allocations: 318.8 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.258e-05/0.1285, allocations: 20 kB / 356.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.627e-05/0.1286, allocations: 65.12 kB / 356.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1288, allocations: 85.08 kB / 356.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1288, allocations: 0 / 356.4 MB, free: 14.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002004/0.129, allocations: 113.7 kB / 356.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.129, allocations: 7.984 kB / 356.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.129, allocations: 7.938 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.129, allocations: 0 / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.143e-05/0.1291, allocations: 20.09 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1291, allocations: 3.984 kB / 356.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.1292, allocations: 11.98 kB / 356.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1292, allocations: 4 kB / 356.5 MB, free: 14.32 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 9.706e-05/0.1293, allocations: 129.7 kB / 356.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.806e-05/0.1294, allocations: 53.59 kB / 356.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.1294, allocations: 12.31 kB / 356.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1295, allocations: 0 / 356.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1295, allocations: 3.984 kB / 356.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1295, allocations: 4 kB / 356.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003461/0.1298, allocations: 354.3 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1298, allocations: 0 / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.393e-05/0.1299, allocations: 8 kB / 357.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1299, allocations: 0 / 357.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1299, allocations: 7.984 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1299, allocations: 0 / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1299, allocations: 3.938 kB / 357.1 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.1302, allocations: 200.1 kB / 357.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.861e-05/0.1302, allocations: 97 kB / 357.4 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.1303, allocations: 7.984 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1303, allocations: 4 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1304, allocations: 3.938 kB / 357.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1304, allocations: 4.234 kB / 357.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.53e-05/0.1305, allocations: 115.2 kB / 357.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1305, allocations: 0 / 357.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000236/0.1307, allocations: 12 kB / 357.5 MB, free: 13.21 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.0001286/0.1309, allocations: 111.2 kB / 357.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1311, allocations: 67.91 kB / 357.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1311, allocations: 0 / 357.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.551e-05/0.1311, allocations: 16.56 kB / 357.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1315, allocations: 40.08 kB / 357.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.1319, allocations: 200 kB / 358 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1323, allocations: 0.6968 MB / 358.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.1323, allocations: 4.672 kB / 358.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.1324, allocations: 27.36 kB / 358.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1324, allocations: 4 kB / 358.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of Templates: time 0.003306/0.1357, allocations: 0.7825 MB / 359.5 MB, free: 11.21 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/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