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.0008974/0.0008974, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.0008606/0.0008606, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9293/0.9293, allocations: 177.1 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 2.344e-06/2.344e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.25e-05, allocations: 9.312 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002125/0.002147, allocations: 1.656 MB / 326.2 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007721/0.00292, allocations: 0.5452 MB / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.003002, allocations: 0 / 326.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.003045, allocations: 7.875 kB / 326.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.003183, allocations: 19.86 kB / 326.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.003477, allocations: 71.67 kB / 326.9 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.003579, allocations: 67.78 kB / 326.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.837e-05/0.003677, allocations: 16.22 kB / 327 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.003788, allocations: 51.83 kB / 327 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.339e-05/0.003842, allocations: 27.89 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.003859, allocations: 4 kB / 327 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.675e-05/0.003895, allocations: 8 kB / 327.1 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.003939, allocations: 15.92 kB / 327.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.003972, allocations: 23.92 kB / 327.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.00411, allocations: 87.62 kB / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004112, allocations: 0 / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.004113, allocations: 0 / 327.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.004118, allocations: 0 / 327.2 MB, free: 13.32 MB / 298.7 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.0003812/0.004499, allocations: 325.9 kB / 327.5 MB, free: 12.97 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.004534, allocations: 8.031 kB / 327.5 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.188e-05/0.004566, allocations: 38.75 kB / 327.5 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.004674, allocations: 24.83 kB / 327.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.004854, allocations: 142.1 kB / 327.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.004865, allocations: 8.375 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.004875, allocations: 4.375 kB / 327.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.005102, allocations: 145.3 kB / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.00511, allocations: 0 / 327.9 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.005122, allocations: 3.984 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005127, allocations: 3.938 kB / 327.9 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.785e-05/0.005194, allocations: 35.92 kB / 327.9 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.005514, allocations: 264.8 kB / 328.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.005661, allocations: 85.11 kB / 328.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.005705, allocations: 33.8 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.005732, allocations: 4 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.73e-05/0.005819, allocations: 67.34 kB / 328.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.00582, allocations: 3.938 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004452/0.006266, allocations: 117.5 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.006317, allocations: 81.05 kB / 328.5 MB, free: 11.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.109e-05/0.006399, allocations: 152.8 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.006411, allocations: 33.7 kB / 328.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.022e-05/0.006451, allocations: 92.12 kB / 328.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.006468, allocations: 15.84 kB / 328.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.006499, allocations: 33.66 kB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.006576, allocations: 318.8 kB / 329.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.494e-05/0.00661, allocations: 19.98 kB / 329.2 MB, free: 11.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.00665, allocations: 42.56 kB / 329.2 MB, free: 11.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.219e-05/0.006722, allocations: 54.5 kB / 329.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.006724, allocations: 8 kB / 329.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.874e-05/0.006822, allocations: 89.88 kB / 329.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.006834, allocations: 4 kB / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.006839, allocations: 0 / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.006851, allocations: 4 kB / 329.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.147e-05/0.006892, allocations: 11.98 kB / 329.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.006899, allocations: 3.984 kB / 329.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.006923, allocations: 11.94 kB / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.006929, allocations: 8.062 kB / 329.4 MB, free: 10.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 6.749e-05/0.006997, allocations: 125.8 kB / 329.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.007036, allocations: 53.64 kB / 329.6 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.007058, allocations: 12.47 kB / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007061, allocations: 4 kB / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.007065, allocations: 0 / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.007068, allocations: 0 / 329.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.007289, allocations: 317.6 kB / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.00729, allocations: 0 / 329.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.69e-05/0.007317, allocations: 15.92 kB / 329.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007319, allocations: 4 kB / 330 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.007327, allocations: 8 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.007329, allocations: 3.938 kB / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.00733, allocations: 0 / 330 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.007454, allocations: 204.6 kB / 330.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.007483, allocations: 23.92 kB / 330.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.007496, allocations: 0 / 330.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.528e-05/0.007531, allocations: 7.938 kB / 330.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.007558, allocations: 3.984 kB / 330.2 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.007565, allocations: 8 kB / 330.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.886e-05/0.007614, allocations: 110.6 kB / 330.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007614, allocations: 0 / 330.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001533/0.007767, allocations: 15.98 kB / 330.3 MB, free: 9.844 MB / 298.7 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.0003587/0.008126, allocations: 0.7716 MB / 331.1 MB, free: 9.043 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.008236, allocations: 55.91 kB / 331.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008238, allocations: 0 / 331.2 MB, free: 8.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.105e-05/0.008269, allocations: 15.98 kB / 331.2 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.008499, allocations: 32.52 kB / 331.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.009744, allocations: 1.481 MB / 332.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.111e-05/0.009806, allocations: 85.12 kB / 332.8 MB, free: 7.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.231e-05/0.009838, allocations: 8.719 kB / 332.8 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.009884, allocations: 24.97 kB / 332.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.009884, allocations: 0 / 332.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01545/0.02533, allocations: 2.732 MB / 335.5 MB, free: 4.637 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.348, allocations: 3.938 kB / 335.5 MB, free: 4.633 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClockToTriggerHold/AssignClockToTriggerHold.csv","/var/lib/jenkins/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: 9.100304953753948]