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.001006/0.001005, allocations: 94.34 kB / 16.3 MB, free: 5.996 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.0009737/0.0009738, allocations: 184.4 kB / 17.2 MB, free: 5.914 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.514/1.514, allocations: 223.2 MB / 241.1 MB, free: 5.375 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002912, allocations: 11.06 kB / 300.7 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1287, allocations: 50.41 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.001797/0.1306, allocations: 1.329 MB / 352.5 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000795/0.1314, allocations: 491.1 kB / 352.9 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.898e-05/0.1315, allocations: 3.938 kB / 353 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/0.1315, allocations: 0 / 353 MB, free: 9.879 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1316, allocations: 15.91 kB / 353 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1319, allocations: 51.83 kB / 353 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.609e-05/0.132, allocations: 31.95 kB / 353.1 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1321, allocations: 20.5 kB / 353.1 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.516e-05/0.1322, allocations: 27.86 kB / 353.1 MB, free: 9.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.896e-05/0.1323, allocations: 27.84 kB / 353.1 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1323, allocations: 0 / 353.1 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.443e-05/0.1323, allocations: 4 kB / 353.1 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.1324, allocations: 15.92 kB / 353.1 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.45e-05/0.1324, allocations: 33.7 kB / 353.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.081e-05/0.1325, allocations: 59.77 kB / 353.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1325, allocations: 0 / 353.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.489e-06/0.1325, allocations: 0 / 353.2 MB, free: 9.586 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1325, allocations: 3.938 kB / 353.2 MB, free: 9.582 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.0004877/0.133, allocations: 375.1 kB / 353.6 MB, free: 9.168 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.1331, allocations: 12.03 kB / 353.6 MB, free: 9.156 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.1331, allocations: 15.77 kB / 353.6 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.1333, allocations: 194.9 kB / 353.8 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1333, allocations: 0 / 353.8 MB, free: 8.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.1333, allocations: 12 kB / 353.8 MB, free: 8.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003063/0.1336, allocations: 156.8 kB / 354 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1337, allocations: 0 / 354 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1337, allocations: 3.953 kB / 354 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1337, allocations: 0 / 354 MB, free: 8.723 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.1338, allocations: 43.92 kB / 354 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.1343, allocations: 297.7 kB / 354.3 MB, free: 8.336 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1345, allocations: 162.4 kB / 354.5 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.1345, allocations: 3.953 kB / 354.5 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.1347, allocations: 67.42 kB / 354.6 MB, free: 8.059 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1347, allocations: 0 / 354.6 MB, free: 8.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002942/0.135, allocations: 125.5 kB / 354.7 MB, free: 7.93 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.1351, allocations: 85.02 kB / 354.8 MB, free: 7.828 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1352, allocations: 144.7 kB / 354.9 MB, free: 7.68 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1352, allocations: 29.7 kB / 354.9 MB, free: 7.645 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.1353, allocations: 96.19 kB / 355 MB, free: 7.547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.1353, allocations: 11.81 kB / 355 MB, free: 7.535 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-06/0.1353, allocations: 4 kB / 355 MB, free: 7.531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1354, allocations: 322.8 kB / 355.4 MB, free: 7.207 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.259e-05/0.1355, allocations: 31.92 kB / 355.4 MB, free: 7.176 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.365e-05/0.1356, allocations: 57.14 kB / 355.4 MB, free: 7.102 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/0.1357, allocations: 36.19 kB / 355.5 MB, free: 7.066 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1357, allocations: 3.984 kB / 355.5 MB, free: 7.062 MB / 286.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002084/0.1359, allocations: 117.5 kB / 355.6 MB, free: 6.941 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1359, allocations: 8.031 kB / 355.6 MB, free: 6.934 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1359, allocations: 4 kB / 355.6 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.136, allocations: 0 / 355.6 MB, free: 6.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.136, allocations: 19.98 kB / 355.6 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.1361, allocations: 0 / 355.6 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.1361, allocations: 11.88 kB / 355.6 MB, free: 6.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1361, allocations: 4 kB / 355.6 MB, free: 6.895 MB / 286.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 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,triggeredSampler.trigger,$PRE.clockToTrigger.y3,clockToTrigger.y3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.789e-05/0.1362, allocations: 127.3 kB / 355.8 MB, free: 6.762 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.104e-05/0.1363, allocations: 61.55 kB / 355.8 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.1364, allocations: 12.31 kB / 355.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1364, allocations: 240 / 355.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.1364, allocations: 4 kB / 355.8 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1364, allocations: 0 / 355.8 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.1368, allocations: 354.4 kB / 356.2 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1368, allocations: 0 / 356.2 MB, free: 6.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.749e-05/0.1368, allocations: 19.98 kB / 356.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1369, allocations: 0 / 356.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.1369, allocations: 0 / 356.2 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.227e-05/0.1369, allocations: 3.938 kB / 356.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1369, allocations: 4 kB / 356.2 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.1371, allocations: 225.8 kB / 356.4 MB, free: 6 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.1372, allocations: 93 kB / 356.5 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1372, allocations: 0 / 356.5 MB, free: 5.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.1373, allocations: 4 kB / 356.5 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.1374, allocations: 7.984 kB / 356.5 MB, free: 5.879 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1374, allocations: 4.125 kB / 356.5 MB, free: 5.875 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.053e-05/0.1375, allocations: 116.7 kB / 356.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1375, allocations: 0 / 356.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1377, allocations: 16 kB / 356.7 MB, free: 5.746 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001234/0.1378, allocations: 103.2 kB / 356.8 MB, free: 5.637 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.138, allocations: 71.91 kB / 356.8 MB, free: 5.566 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.138, allocations: 0 / 356.8 MB, free: 5.566 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.714e-05/0.1381, allocations: 24.23 kB / 356.9 MB, free: 5.543 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.1384, allocations: 32.02 kB / 356.9 MB, free: 5.512 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.1388, allocations: 233.8 kB / 357.1 MB, free: 5.246 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/0.1391, allocations: 0.7043 MB / 357.8 MB, free: 4.516 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.693e-05/0.1391, allocations: 8.656 kB / 357.8 MB, free: 4.508 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.1392, allocations: 11.44 kB / 357.9 MB, free: 4.496 MB / 286.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1392, allocations: 0 / 357.9 MB, free: 4.496 MB / 286.1 MB Notification: Performance of Templates: time 0.002822/0.142, allocations: 0.688 MB / 358.5 MB, free: 3.82 MB / 286.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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches