Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001242/0.001242, allocations: 116.7 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 215.8 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 230.5 MB / 257.4 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003075/0.003075, allocations: 72.02 kB / 377.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.229, allocations: 53.4 MB / 431.2 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002806/0.2319, allocations: 1.67 MB / 432.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2329, allocations: 0.5801 MB / 433.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.233, allocations: 7.938 kB / 433.4 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.418e-05/0.233, allocations: 7.875 kB / 433.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.2331, allocations: 23.84 kB / 433.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.2335, allocations: 71.25 kB / 433.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.2336, allocations: 63.78 kB / 433.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.371e-05/0.2337, allocations: 20.2 kB / 433.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.2338, allocations: 35.86 kB / 433.7 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.2339, allocations: 31.78 kB / 433.7 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.2339, allocations: 11.98 kB / 433.7 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.035e-05/0.2339, allocations: 16 kB / 433.7 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.406e-05/0.234, allocations: 15.92 kB / 433.7 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.234, allocations: 35.75 kB / 433.8 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.2342, allocations: 80 kB / 433.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2342, allocations: 7.938 kB / 433.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2342, allocations: 0 / 433.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.2342, allocations: 0 / 433.9 MB, free: 4.121 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.0004801/0.2347, allocations: 325.9 kB / 434.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2347, allocations: 8.031 kB / 434.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.2348, allocations: 42.73 kB / 434.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.2349, allocations: 16.84 kB / 434.2 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.2351, allocations: 154.2 kB / 434.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.2351, allocations: 4.375 kB / 434.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.863e-05/0.2352, allocations: 11.94 kB / 434.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002986/0.2355, allocations: 140.9 kB / 434.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.2355, allocations: 0 / 434.5 MB, free: 3.355 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2355, allocations: 11.98 kB / 434.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2355, allocations: 0 / 434.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.2356, allocations: 35.91 kB / 434.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.2361, allocations: 272.8 kB / 434.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.2363, allocations: 77.12 kB / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/0.2363, allocations: 33.8 kB / 435 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2364, allocations: 4 kB / 435 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.2365, allocations: 71.28 kB / 435 MB, free: 2.777 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.2365, allocations: 4 kB / 435 MB, free: 2.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003141/0.2368, allocations: 109.8 kB / 435.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.2369, allocations: 85.05 kB / 435.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.237, allocations: 153.7 kB / 435.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.237, allocations: 25.7 kB / 435.4 MB, free: 2.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.2371, allocations: 96.12 kB / 435.5 MB, free: 2.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.2371, allocations: 15.91 kB / 435.5 MB, free: 2.254 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.2372, allocations: 37.66 kB / 435.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2373, allocations: 314.8 kB / 435.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.2374, allocations: 24.05 kB / 435.9 MB, free: 1.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.253e-05/0.2375, allocations: 61.12 kB / 436 MB, free: 1.793 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2376, allocations: 89.08 kB / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2376, allocations: 0 / 436 MB, free: 1.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002092/0.2378, allocations: 113.6 kB / 436.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2378, allocations: 8 kB / 436.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2378, allocations: 3.938 kB / 436.2 MB, free: 1.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2379, allocations: 3.984 kB / 436.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.2379, allocations: 15.94 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.2379, allocations: 0 / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.616e-05/0.238, allocations: 19.86 kB / 436.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.238, allocations: 4 kB / 436.2 MB, free: 1.516 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.0001018/0.2381, allocations: 125.8 kB / 436.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.2382, allocations: 61.61 kB / 436.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.2382, allocations: 12.41 kB / 436.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2382, allocations: 3.938 kB / 436.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2382, allocations: 240 / 436.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2382, allocations: 7.984 kB / 436.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.2386, allocations: 321.6 kB / 436.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2386, allocations: 4 kB / 436.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.2386, allocations: 11.94 kB / 436.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2387, allocations: 0 / 436.7 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.2387, allocations: 4 kB / 436.7 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.2387, allocations: 8.109 kB / 436.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2387, allocations: 4 kB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.2389, allocations: 196.3 kB / 436.9 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.239, allocations: 23.88 kB / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.239, allocations: 0 / 437 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.239, allocations: 8 kB / 437 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.2391, allocations: 3.984 kB / 437 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.2391, allocations: 8 kB / 437 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.2392, allocations: 110.2 kB / 437.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2392, allocations: 0 / 437.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.2394, allocations: 15.95 kB / 437.1 MB, free: 0.5195 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.0006817/0.2401, allocations: 0.7756 MB / 437.9 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.2403, allocations: 59.91 kB / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2403, allocations: 0 / 437.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.441e-05/0.2404, allocations: 24.11 kB / 438 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.2407, allocations: 39.05 kB / 438 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.2423, allocations: 1.548 MB / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.2427, allocations: 0.7002 MB / 440.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.563e-05/0.2427, allocations: 4.438 kB / 440.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.2428, allocations: 31.42 kB / 440.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2428, allocations: 0 / 440.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/0.2709, allocations: 2.185 MB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.97, allocations: 11.3 kB / 442.5 MB, free: 11.08 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79641e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.26446603401564]