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.001287/0.001286, allocations: 106.5 kB / 16.92 MB, free: 5.777 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.001307/0.001307, allocations: 187.3 kB / 17.85 MB, free: 5.168 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.53/1.53, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 48.83 kB / 300.7 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1266, allocations: 49.44 MB / 350.2 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.004193/0.1308, allocations: 1.621 MB / 351.8 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1319, allocations: 0.5065 MB / 352.3 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.1321, allocations: 3.938 kB / 352.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.185e-05/0.1322, allocations: 7.938 kB / 352.3 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.1323, allocations: 19.84 kB / 352.3 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.1327, allocations: 59.77 kB / 352.4 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.1328, allocations: 59.84 kB / 352.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.133, allocations: 24.2 kB / 352.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1331, allocations: 31.86 kB / 352.5 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.146e-05/0.1332, allocations: 23.86 kB / 352.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.1332, allocations: 4 kB / 352.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.67e-05/0.1332, allocations: 8 kB / 352.5 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.1333, allocations: 27.91 kB / 352.6 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.1334, allocations: 43.67 kB / 352.6 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.1335, allocations: 67.72 kB / 352.7 MB, free: 1.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1335, allocations: 0 / 352.7 MB, free: 1.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1335, allocations: 0 / 352.7 MB, free: 1.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1335, allocations: 0 / 352.7 MB, free: 1.82 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.0005433/0.1341, allocations: 395.3 kB / 353.1 MB, free: 1.387 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1341, allocations: 8.031 kB / 353.1 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.1342, allocations: 42.75 kB / 353.1 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1342, allocations: 12.83 kB / 353.1 MB, free: 1.316 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1345, allocations: 200.1 kB / 353.3 MB, free: 1.082 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.1345, allocations: 16.25 kB / 353.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1345, allocations: 8.312 kB / 353.3 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.1349, allocations: 149.1 kB / 353.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1349, allocations: 0 / 353.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1349, allocations: 0 / 353.5 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1349, allocations: 4 kB / 353.5 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.135, allocations: 35.97 kB / 353.5 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.1356, allocations: 317.5 kB / 353.8 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1358, allocations: 154.3 kB / 354 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.732e-05/0.1359, allocations: 37.73 kB / 354 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.136, allocations: 4 kB / 354 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.1362, allocations: 67.39 kB / 354.1 MB, free: 184 kB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.774e-06/0.1362, allocations: 0 / 354.1 MB, free: 184 kB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003278/0.1365, allocations: 113.5 kB / 354.2 MB, free: 64 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1366, allocations: 81.11 kB / 354.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1368, allocations: 148.9 kB / 354.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1368, allocations: 25.7 kB / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.1369, allocations: 96.05 kB / 354.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.1369, allocations: 11.97 kB / 354.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.137, allocations: 33.62 kB / 354.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1371, allocations: 322.8 kB / 354.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.1372, allocations: 19.98 kB / 354.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.13e-05/0.1373, allocations: 65.08 kB / 355 MB, free: 15.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.1374, allocations: 85.06 kB / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1375, allocations: 0 / 355.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001991/0.1377, allocations: 117.5 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1377, allocations: 4 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1377, allocations: 4 kB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1377, allocations: 0 / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.1378, allocations: 19.92 kB / 355.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1378, allocations: 3.938 kB / 355.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.175e-05/0.1379, allocations: 4 kB / 355.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.1379, allocations: 8.156 kB / 355.2 MB, free: 14.94 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.978e-05/0.138, allocations: 136.9 kB / 355.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.1381, allocations: 57.53 kB / 355.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.059e-05/0.1382, allocations: 16.31 kB / 355.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1382, allocations: 0 / 355.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.1382, allocations: 320 / 355.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1382, allocations: 0 / 355.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.1386, allocations: 358.3 kB / 355.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1386, allocations: 0 / 355.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.1386, allocations: 15.92 kB / 355.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1386, allocations: 3.938 kB / 355.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.1387, allocations: 4 kB / 355.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1387, allocations: 3.938 kB / 355.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1387, allocations: 0 / 355.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.139, allocations: 204.2 kB / 356 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.139, allocations: 97 kB / 356.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.1391, allocations: 0 / 356.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.1392, allocations: 7.938 kB / 356.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.1392, allocations: 7.984 kB / 356.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.1392, allocations: 4 kB / 356.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.894e-05/0.1393, allocations: 107.2 kB / 356.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1393, allocations: 0 / 356.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1396, allocations: 16 kB / 356.2 MB, free: 13.81 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.0006529/0.1402, allocations: 0.7709 MB / 357 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1404, allocations: 67.84 kB / 357.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1404, allocations: 4.375 kB / 357.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.1405, allocations: 19.98 kB / 357.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1409, allocations: 33.12 kB / 357.1 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1425, allocations: 1.54 MB / 358.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.1428, allocations: 0.704 MB / 359.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.863e-05/0.1428, allocations: 4.672 kB / 359.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.1429, allocations: 27.42 kB / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1429, allocations: 0 / 359.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.1624, allocations: 1.979 MB / 361.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.082/8.245, allocations: 3.281 kB / 361.4 MB, free: 8.617 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