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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 113.7 kB / 16.63 MB, free: 6.816 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.0021/0.0021, allocations: 189.8 kB / 17.55 MB, free: 5.93 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.678/1.678, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 50.52 kB / 300.2 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1234, allocations: 49.46 MB / 349.7 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.004036/0.1275, allocations: 1.69 MB / 351.4 MB, free: 2.867 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000916/0.1284, allocations: 0.4909 MB / 351.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1286, allocations: 7.938 kB / 351.9 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.31e-05/0.1287, allocations: 3.984 kB / 351.9 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1288, allocations: 15.86 kB / 351.9 MB, free: 2.344 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.1291, allocations: 55.83 kB / 352 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.1293, allocations: 63.78 kB / 352 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1294, allocations: 20.22 kB / 352 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.53e-05/0.1295, allocations: 35.86 kB / 352.1 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.1295, allocations: 31.84 kB / 352.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1296, allocations: 4 kB / 352.1 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.1296, allocations: 8 kB / 352.1 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.134e-05/0.1297, allocations: 23.91 kB / 352.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.1297, allocations: 39.73 kB / 352.2 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1299, allocations: 67.72 kB / 352.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1299, allocations: 0 / 352.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1299, allocations: 0 / 352.2 MB, free: 1.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1299, allocations: 0 / 352.2 MB, free: 1.996 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.0007042/0.1306, allocations: 395.3 kB / 352.6 MB, free: 1.562 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.1307, allocations: 12.03 kB / 352.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.95e-05/0.1307, allocations: 42.67 kB / 352.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.1308, allocations: 20.75 kB / 352.7 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.131, allocations: 190.6 kB / 352.9 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.131, allocations: 8.375 kB / 352.9 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.131, allocations: 8.312 kB / 352.9 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.1314, allocations: 145.1 kB / 353 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1314, allocations: 3.938 kB / 353 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.1314, allocations: 0 / 353 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1315, allocations: 4 kB / 353.1 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1316, allocations: 35.91 kB / 353.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.1321, allocations: 309.5 kB / 353.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.1324, allocations: 158.2 kB / 353.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.652e-05/0.1325, allocations: 41.78 kB / 353.6 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1325, allocations: 0 / 353.6 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.1327, allocations: 71.33 kB / 353.7 MB, free: 372 kB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.1328, allocations: 0 / 353.7 MB, free: 372 kB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003148/0.1331, allocations: 117.5 kB / 353.8 MB, free: 248 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.1332, allocations: 77.11 kB / 353.8 MB, free: 152 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.1333, allocations: 145.9 kB / 354 MB, free: 15.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1333, allocations: 25.7 kB / 354 MB, free: 15.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.1334, allocations: 99.98 kB / 354.1 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.1334, allocations: 11.97 kB / 354.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.1335, allocations: 33.61 kB / 354.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1337, allocations: 322.8 kB / 354.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.1337, allocations: 19.98 kB / 354.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.864e-05/0.1338, allocations: 65.14 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.134, allocations: 85.27 kB / 354.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.134, allocations: 0 / 354.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002037/0.1342, allocations: 121.4 kB / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1342, allocations: 4 kB / 354.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1343, allocations: 4 kB / 354.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1343, allocations: 0 / 354.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.254e-05/0.1344, allocations: 15.98 kB / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.1344, allocations: 0 / 354.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/0.1345, allocations: 4 kB / 354.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1345, allocations: 12.09 kB / 354.8 MB, free: 15.12 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.000143/0.1347, allocations: 129.7 kB / 354.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.835e-05/0.1348, allocations: 57.59 kB / 355 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.506e-05/0.1348, allocations: 16.3 kB / 355 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1348, allocations: 0 / 355 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.1348, allocations: 0 / 355 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1349, allocations: 4 kB / 355 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.1353, allocations: 346.3 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1354, allocations: 4 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.1354, allocations: 11.98 kB / 355.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.1354, allocations: 4 kB / 355.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1355, allocations: 7.938 kB / 355.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.1355, allocations: 3.938 kB / 355.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1355, allocations: 0 / 355.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.1358, allocations: 200.2 kB / 355.6 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.702e-05/0.1359, allocations: 97.11 kB / 355.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.1359, allocations: 4 kB / 355.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.136, allocations: 11.94 kB / 355.7 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/0.136, allocations: 8.219 kB / 355.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.1361, allocations: 0 / 355.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1362, allocations: 114.6 kB / 355.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1362, allocations: 0 / 355.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.1364, allocations: 12 kB / 355.8 MB, free: 14 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.0008154/0.1373, allocations: 0.7717 MB / 356.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.1375, allocations: 63.91 kB / 356.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1376, allocations: 384 / 356.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-05/0.1376, allocations: 31.92 kB / 356.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.1381, allocations: 27.95 kB / 356.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.14, allocations: 1.563 MB / 358.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.1404, allocations: 0.7002 MB / 359 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.997e-05/0.1405, allocations: 12.59 kB / 359 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.1406, allocations: 23.44 kB / 359 MB, free: 10.63 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1406, allocations: 0 / 359 MB, free: 10.63 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01558/0.1562, allocations: 1.89 MB / 360.9 MB, free: 8.91 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/0.1565, allocations: 240.2 kB / 361.1 MB, free: 8.652 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.167, allocations: 0 / 361.1 MB, free: 8.652 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > 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