Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001331/0.001331, 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.001496/0.001496, allocations: 209.2 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.37/1.37, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 47.92 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.258, allocations: 53.36 MB / 431.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.0028/0.2608, allocations: 1.499 MB / 432.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007695/0.2615, allocations: 411 kB / 433 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.2616, allocations: 3.938 kB / 433 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.2616, allocations: 8 kB / 433 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.773e-05/0.2617, allocations: 11.86 kB / 433 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002196/0.2619, allocations: 19.98 kB / 433 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.262, allocations: 39.84 kB / 433.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2621, allocations: 11.98 kB / 433.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.2622, allocations: 19.92 kB / 433.1 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.391e-05/0.2622, allocations: 11.94 kB / 433.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.2622, allocations: 0 / 433.1 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.692e-05/0.2623, allocations: 4 kB / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.2623, allocations: 15.92 kB / 433.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.2623, allocations: 15.94 kB / 433.1 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.926e-05/0.2624, allocations: 41.5 kB / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2624, allocations: 0 / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2624, allocations: 0 / 433.2 MB, free: 4.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.2624, allocations: 0 / 433.2 MB, free: 4.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004534/0.2629, allocations: 270.3 kB / 433.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.2629, allocations: 8.031 kB / 433.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.263, allocations: 38.73 kB / 433.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.263, allocations: 8.891 kB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.2632, allocations: 122.4 kB / 433.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.2632, allocations: 8.375 kB / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.2632, allocations: 384 / 433.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.2637, allocations: 135.3 kB / 433.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2637, allocations: 3.984 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2637, allocations: 0 / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2637, allocations: 4 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001635/0.2639, allocations: 39.91 kB / 433.8 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.264, allocations: 124.8 kB / 433.9 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.2643, allocations: 78.52 kB / 434 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.2644, allocations: 36.89 kB / 434 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.2644, allocations: 4 kB / 434 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.2645, allocations: 34.5 kB / 434.1 MB, free: 3.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2645, allocations: 4 kB / 434.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003396/0.2648, allocations: 93.58 kB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.2649, allocations: 59.39 kB / 434.2 MB, free: 3.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.801e-05/0.2649, allocations: 101.9 kB / 434.3 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.265, allocations: 29.7 kB / 434.4 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.265, allocations: 92.05 kB / 434.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/0.265, allocations: 8 kB / 434.5 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.265, allocations: 13.72 kB / 434.5 MB, free: 3.098 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2652, allocations: 314.8 kB / 434.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.2652, allocations: 7.984 kB / 434.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.2652, allocations: 27.44 kB / 434.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.24e-05/0.2653, allocations: 31.38 kB / 434.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2653, allocations: 4 kB / 434.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.427e-05/0.2653, allocations: 69.45 kB / 434.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2654, allocations: 4 kB / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.2654, allocations: 0 / 434.9 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2654, allocations: 4 kB / 434.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.731e-05/0.2654, allocations: 4 kB / 434.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.2654, allocations: 4.312 kB / 434.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.2655, allocations: 7.938 kB / 434.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.2655, allocations: 3.984 kB / 434.9 MB, free: 2.586 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 7.922e-05/0.2655, allocations: 117.9 kB / 435.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.2657, allocations: 89.48 kB / 435.1 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.888e-05/0.2658, allocations: 8 kB / 435.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2658, allocations: 0 / 435.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2658, allocations: 0 / 435.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2658, allocations: 3.938 kB / 435.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.489e-05/0.2659, allocations: 128.8 kB / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2659, allocations: 0 / 435.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.2659, allocations: 15.92 kB / 435.3 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2659, allocations: 4 kB / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.266, allocations: 0 / 435.3 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.266, allocations: 3.984 kB / 435.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.266, allocations: 0 / 435.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.2662, allocations: 97.09 kB / 435.4 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.2662, allocations: 15.88 kB / 435.4 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.2662, allocations: 4 kB / 435.4 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.523e-05/0.2662, allocations: 4 kB / 435.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-06/0.2663, allocations: 3.938 kB / 435.4 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.2663, allocations: 4.375 kB / 435.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.2663, allocations: 87.27 kB / 435.5 MB, free: 1.926 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2663, allocations: 4 kB / 435.5 MB, free: 1.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001773/0.2665, allocations: 4 kB / 435.5 MB, free: 1.918 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 4 * 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.0005088/0.267, allocations: 0.6358 MB / 436.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.2671, allocations: 32.11 kB / 436.2 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.2671, allocations: 8 kB / 436.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.2671, allocations: 0 / 436.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.2674, allocations: 34.41 kB / 436.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2685, allocations: 1.172 MB / 437.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.457e-05/0.2686, allocations: 63.34 kB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.551e-05/0.2686, allocations: 3.984 kB / 437.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.2686, allocations: 23.38 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2686, allocations: 0 / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03472/0.3033, allocations: 1.894 MB / 439.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/10.63, allocations: 10.03 kB / 439.4 MB, free: 14.04 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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: 12.903043925005477]