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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 186.6 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 43.94 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2416, allocations: 52.18 MB / 422.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.003048/0.2447, allocations: 1.683 MB / 424.3 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009141/0.2456, allocations: 0.5142 MB / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.2457, allocations: 0 / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.389e-05/0.2457, allocations: 7.875 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.2458, allocations: 7.938 kB / 424.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.2461, allocations: 55.81 kB / 424.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.2462, allocations: 75.77 kB / 425 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.2463, allocations: 16.22 kB / 425 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.9e-05/0.2464, allocations: 35.8 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.846e-05/0.2465, allocations: 31.84 kB / 425.1 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.2465, allocations: 4 kB / 425.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.637e-05/0.2465, allocations: 8 kB / 425.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.2466, allocations: 15.92 kB / 425.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.2466, allocations: 39.73 kB / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.2467, allocations: 72.06 kB / 425.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.2467, allocations: 4 kB / 425.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2467, allocations: 8 kB / 425.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.2468, allocations: 0 / 425.2 MB, free: 12.05 MB / 334.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.0005059/0.2473, allocations: 325.8 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2473, allocations: 8.031 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.2473, allocations: 38.75 kB / 425.6 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.2474, allocations: 8.891 kB / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.2476, allocations: 146.3 kB / 425.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2476, allocations: 4.375 kB / 425.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2476, allocations: 12.38 kB / 425.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.2479, allocations: 133.1 kB / 425.9 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.248, allocations: 3.938 kB / 425.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.248, allocations: 4 kB / 425.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.248, allocations: 4 kB / 425.9 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.2481, allocations: 31.97 kB / 425.9 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/0.2486, allocations: 288.6 kB / 426.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.2488, allocations: 73.19 kB / 426.3 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.084e-05/0.2488, allocations: 37.8 kB / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2489, allocations: 0 / 426.3 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.249, allocations: 67.33 kB / 426.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.249, allocations: 0 / 426.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003074/0.2493, allocations: 117.5 kB / 426.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.2494, allocations: 81.11 kB / 426.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.2495, allocations: 152.3 kB / 426.7 MB, free: 10.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.2496, allocations: 25.7 kB / 426.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.2496, allocations: 96.08 kB / 426.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.2496, allocations: 11.91 kB / 426.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.2497, allocations: 29.7 kB / 426.9 MB, free: 10.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2498, allocations: 322.8 kB / 427.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.2499, allocations: 27.98 kB / 427.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.25, allocations: 57.39 kB / 427.3 MB, free: 9.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.2501, allocations: 89.02 kB / 427.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2501, allocations: 0 / 427.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002115/0.2503, allocations: 117.5 kB / 427.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.2504, allocations: 7.938 kB / 427.5 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2504, allocations: 8.156 kB / 427.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2504, allocations: 0 / 427.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.236e-05/0.2505, allocations: 15.98 kB / 427.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2505, allocations: 0 / 427.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.2505, allocations: 8 kB / 427.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2505, allocations: 4 kB / 427.5 MB, free: 9.48 MB / 334.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.0001047/0.2506, allocations: 131.8 kB / 427.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.2507, allocations: 61.59 kB / 427.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.2507, allocations: 16.39 kB / 427.7 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2507, allocations: 4 kB / 427.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2508, allocations: 0 / 427.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2508, allocations: 0 / 427.7 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.2511, allocations: 313.5 kB / 428 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2511, allocations: 0 / 428 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.2512, allocations: 8 kB / 428 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.2512, allocations: 7.984 kB / 428 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.2512, allocations: 4 kB / 428 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2512, allocations: 3.938 kB / 428 MB, free: 8.875 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2512, allocations: 7.938 kB / 428.1 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.2514, allocations: 196.4 kB / 428.2 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.2515, allocations: 27.83 kB / 428.3 MB, free: 8.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.2515, allocations: 7.938 kB / 428.3 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.588e-05/0.2516, allocations: 11.92 kB / 428.3 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.2516, allocations: 4 kB / 428.3 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.2516, allocations: 4 kB / 428.3 MB, free: 8.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.102e-05/0.2517, allocations: 111.2 kB / 428.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2517, allocations: 0 / 428.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.2519, allocations: 16 kB / 428.4 MB, free: 8.477 MB / 334.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.0006179/0.2526, allocations: 0.7601 MB / 429.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.2527, allocations: 63.91 kB / 429.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2527, allocations: 0 / 429.2 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.997e-05/0.2528, allocations: 23.92 kB / 429.3 MB, free: 7.602 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.2531, allocations: 27.39 kB / 429.3 MB, free: 7.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.2547, allocations: 1.559 MB / 430.9 MB, free: 5.906 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.255, allocations: 0.704 MB / 431.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.532e-05/0.255, allocations: 4.859 kB / 431.6 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.2551, allocations: 31.41 kB / 431.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2551, allocations: 384 / 431.6 MB, free: 5.141 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.2826, allocations: 2.154 MB / 433.7 MB, free: 3.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.78, allocations: 11.64 kB / 433.8 MB, free: 3.109 MB / 334.1 MB " [Timeout remaining time 649] (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 --stepSize=1.79641e-05 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.12318533891812]