Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.001711/0.001711, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002312/0.002312, allocations: 210.4 kB / 23.73 MB, free: 4.523 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.402/1.402, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 55.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2553, allocations: 53.36 MB / 431.1 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003143/0.2584, allocations: 1.624 MB / 432.7 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.2596, allocations: 0.5298 MB / 433.2 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.854e-05/0.2597, allocations: 7.938 kB / 433.2 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.384e-05/0.2597, allocations: 3.938 kB / 433.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.2599, allocations: 11.86 kB / 433.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.2602, allocations: 71.44 kB / 433.3 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.2604, allocations: 55.78 kB / 433.4 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.2605, allocations: 15.98 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2606, allocations: 35.84 kB / 433.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.2606, allocations: 19.86 kB / 433.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.2606, allocations: 4 kB / 433.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.915e-05/0.2607, allocations: 8 kB / 433.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.2607, allocations: 19.92 kB / 433.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.2608, allocations: 27.8 kB / 433.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.2609, allocations: 69.3 kB / 433.6 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2609, allocations: 4 kB / 433.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2609, allocations: 0 / 433.6 MB, free: 4.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.2609, allocations: 3.938 kB / 433.6 MB, free: 4.148 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000479/0.2614, allocations: 313.9 kB / 433.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2615, allocations: 15.97 kB / 433.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.2615, allocations: 34.75 kB / 433.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.2616, allocations: 20.88 kB / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.2619, allocations: 142.9 kB / 434.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.2619, allocations: 8.375 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2619, allocations: 15.88 kB / 434.1 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.2622, allocations: 130.7 kB / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.2622, allocations: 0 / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.2622, allocations: 0 / 434.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2623, allocations: 4 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.2623, allocations: 23.92 kB / 434.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003779/0.2627, allocations: 258.6 kB / 434.5 MB, free: 3.062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.2629, allocations: 94.3 kB / 434.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.835e-05/0.263, allocations: 39.55 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.263, allocations: 4 kB / 434.7 MB, free: 2.879 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.263, allocations: 38.56 kB / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.263, allocations: 0 / 434.7 MB, free: 2.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002955/0.2633, allocations: 105.5 kB / 434.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.2634, allocations: 132.5 kB / 434.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.2636, allocations: 157.4 kB / 435.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.2636, allocations: 25.7 kB / 435.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.2637, allocations: 92.14 kB / 435.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.2637, allocations: 3.953 kB / 435.2 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.2638, allocations: 25.66 kB / 435.2 MB, free: 2.234 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2639, allocations: 319.3 kB / 435.6 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.264, allocations: 19.98 kB / 435.6 MB, free: 1.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.208e-05/0.264, allocations: 40.28 kB / 435.6 MB, free: 1.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.2641, allocations: 64.28 kB / 435.7 MB, free: 1.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2641, allocations: 4 kB / 435.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001704/0.2643, allocations: 89.5 kB / 435.8 MB, free: 1.664 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.2643, allocations: 4 kB / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2643, allocations: 0 / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.2643, allocations: 4 kB / 435.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.121e-05/0.2644, allocations: 11.98 kB / 435.8 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2644, allocations: 11.88 kB / 435.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.2645, allocations: 4 kB / 435.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.2645, allocations: 0 / 435.8 MB, free: 1.629 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.401e-05/0.2646, allocations: 125.9 kB / 435.9 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.2647, allocations: 57.66 kB / 436 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.2647, allocations: 19.91 kB / 436 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2647, allocations: 4 kB / 436 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2647, allocations: 3.938 kB / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2647, allocations: 0 / 436 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.2649, allocations: 152.6 kB / 436.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2649, allocations: 0 / 436.2 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.356e-05/0.265, allocations: 11.98 kB / 436.2 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.265, allocations: 4 kB / 436.2 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.265, allocations: 4.062 kB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.265, allocations: 4 kB / 436.2 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.265, allocations: 3.938 kB / 436.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.2652, allocations: 202 kB / 436.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.2653, allocations: 23.92 kB / 436.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.2653, allocations: 0 / 436.4 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.79e-05/0.2654, allocations: 8 kB / 436.4 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.2654, allocations: 7.922 kB / 436.4 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.2654, allocations: 4 kB / 436.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.422e-05/0.2655, allocations: 111.2 kB / 436.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2655, allocations: 4 kB / 436.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.2657, allocations: 8 kB / 436.5 MB, free: 0.7969 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0005155/0.2662, allocations: 0.7266 MB / 437.3 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.2664, allocations: 48.05 kB / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2664, allocations: 0 / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.2665, allocations: 12.31 kB / 437.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.2668, allocations: 46.45 kB / 437.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.2684, allocations: 1.462 MB / 438.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.469e-05/0.2685, allocations: 87.64 kB / 438.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.2685, allocations: 7.984 kB / 438.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.901e-05/0.2685, allocations: 19.44 kB / 438.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2685, allocations: 0 / 438.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.2971, allocations: 2.5 MB / 441.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.84, allocations: 11.67 kB / 441.5 MB, free: 11.85 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.189220006024698]