Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.458/1.458, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 59.91 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1018, allocations: 53.32 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003442/0.1052, allocations: 1.673 MB / 428 MB, free: 3.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1065, allocations: 0.5727 MB / 428.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1066, allocations: 7.938 kB / 428.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.451e-05/0.1067, allocations: 3.938 kB / 428.6 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1069, allocations: 15.86 kB / 428.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004279/0.1073, allocations: 71.73 kB / 428.7 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1075, allocations: 67.78 kB / 428.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1076, allocations: 16.22 kB / 428.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1077, allocations: 39.84 kB / 428.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.1078, allocations: 23.86 kB / 428.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.1078, allocations: 8 kB / 428.8 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.078e-05/0.1079, allocations: 15.98 kB / 428.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.1079, allocations: 19.92 kB / 428.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.108, allocations: 31.75 kB / 428.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002217/0.1082, allocations: 95.44 kB / 429 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1082, allocations: 0 / 429 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1082, allocations: 4 kB / 429 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1082, allocations: 0 / 429 MB, free: 2.086 MB / 350.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.0006306/0.1089, allocations: 391 kB / 429.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1089, allocations: 12.03 kB / 429.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.109, allocations: 38.73 kB / 429.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.1091, allocations: 20.84 kB / 429.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.1095, allocations: 208.7 kB / 429.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1095, allocations: 8.375 kB / 429.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.1095, allocations: 15.88 kB / 429.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000361/0.1099, allocations: 140.9 kB / 429.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1099, allocations: 0 / 429.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1099, allocations: 0 / 429.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-06/0.1099, allocations: 4 kB / 429.8 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.11, allocations: 35.97 kB / 429.8 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.1106, allocations: 301.6 kB / 430.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.1108, allocations: 158.2 kB / 430.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.111, allocations: 33.8 kB / 430.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.111, allocations: 0 / 430.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.1111, allocations: 67.34 kB / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1111, allocations: 0 / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003414/0.1115, allocations: 121.5 kB / 430.5 MB, free: 344 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.1116, allocations: 89.05 kB / 430.6 MB, free: 236 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.1117, allocations: 148 kB / 430.7 MB, free: 80 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1117, allocations: 29.7 kB / 430.8 MB, free: 44 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.1118, allocations: 88.14 kB / 430.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.1118, allocations: 19.95 kB / 430.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.1119, allocations: 33.61 kB / 430.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002512/0.1121, allocations: 326.8 kB / 431.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.698e-05/0.1122, allocations: 19.98 kB / 431.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.633e-05/0.1123, allocations: 57.14 kB / 431.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.1125, allocations: 89.06 kB / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1125, allocations: 0 / 431.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002944/0.1128, allocations: 113.7 kB / 431.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1128, allocations: 10.19 kB / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1128, allocations: 4 kB / 431.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.1128, allocations: 3.984 kB / 431.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.1129, allocations: 23.86 kB / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1129, allocations: 0 / 431.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.213e-05/0.113, allocations: 7.938 kB / 431.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.113, allocations: 4 kB / 431.5 MB, free: 15.2 MB / 366.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.0001185/0.1131, allocations: 128.8 kB / 431.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.1132, allocations: 57.58 kB / 431.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.018e-05/0.1132, allocations: 20.31 kB / 431.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1132, allocations: 3.938 kB / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1132, allocations: 0 / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1132, allocations: 0 / 431.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.1136, allocations: 342.8 kB / 432.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1136, allocations: 64 / 432.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.106e-05/0.1137, allocations: 19.92 kB / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1137, allocations: 0 / 432.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1137, allocations: 15.88 kB / 432.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1137, allocations: 4 kB / 432.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1137, allocations: 0 / 432.1 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.114, allocations: 200.3 kB / 432.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/0.1141, allocations: 101 kB / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.1141, allocations: 0 / 432.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.1142, allocations: 7.984 kB / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1142, allocations: 8 kB / 432.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1142, allocations: 4 kB / 432.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.373e-05/0.1143, allocations: 111.2 kB / 432.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1143, allocations: 0 / 432.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000246/0.1146, allocations: 19.95 kB / 432.6 MB, free: 14.06 MB / 366.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.0009158/0.1155, allocations: 0.7702 MB / 433.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.1157, allocations: 63.91 kB / 433.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1157, allocations: 0 / 433.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.497e-05/0.1157, allocations: 15.98 kB / 433.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003988/0.1161, allocations: 35.88 kB / 433.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.118, allocations: 1.54 MB / 435 MB, free: 11.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.1183, allocations: 0.7002 MB / 435.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.1183, allocations: 12.36 kB / 435.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.1184, allocations: 27.42 kB / 435.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1184, allocations: 8 kB / 435.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.1453, allocations: 2.048 MB / 437.8 MB, free: 8.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.662, allocations: 10.67 kB / 437.8 MB, free: 8.805 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.208097584079951]