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.001578/0.001578, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001983/0.001983, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.984 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.001677/0.001677, allocations: 51.91 kB / 377.8 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2616, allocations: 53.35 MB / 431.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002729/0.2643, allocations: 1.504 MB / 432.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.2651, allocations: 462.8 kB / 433.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.2652, allocations: 0 / 433.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.2652, allocations: 3.938 kB / 433.1 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.2653, allocations: 7.922 kB / 433.1 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.2655, allocations: 23.91 kB / 433.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.7e-05/0.2656, allocations: 39.86 kB / 433.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.536e-05/0.2657, allocations: 11.98 kB / 433.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.325e-05/0.2657, allocations: 15.92 kB / 433.2 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.2658, allocations: 19.92 kB / 433.2 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.2658, allocations: 4 kB / 433.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.2658, allocations: 4 kB / 433.2 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.2658, allocations: 4 kB / 433.2 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.2658, allocations: 15.88 kB / 433.2 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.646e-05/0.2659, allocations: 36.86 kB / 433.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2659, allocations: 3.938 kB / 433.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2659, allocations: 0 / 433.3 MB, free: 4.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.2659, allocations: 0 / 433.3 MB, free: 4.68 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.000455/0.2664, allocations: 281.7 kB / 433.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2664, allocations: 8.031 kB / 433.6 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.936e-05/0.2665, allocations: 34.73 kB / 433.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.2665, allocations: 8.891 kB / 433.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.2667, allocations: 122.5 kB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.849e-06/0.2667, allocations: 384 / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.2667, allocations: 4.375 kB / 433.7 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.2672, allocations: 147.3 kB / 433.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2672, allocations: 3.938 kB / 433.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.2672, allocations: 0 / 433.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2672, allocations: 0 / 433.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.2673, allocations: 31.97 kB / 433.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.2675, allocations: 140.7 kB / 434.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.2678, allocations: 74.5 kB / 434.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2679, allocations: 36.91 kB / 434.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.2679, allocations: 0 / 434.2 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.2679, allocations: 42.44 kB / 434.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.2679, allocations: 0 / 434.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003467/0.2683, allocations: 93.64 kB / 434.3 MB, free: 3.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.2683, allocations: 59.33 kB / 434.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.225e-05/0.2684, allocations: 105.9 kB / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2684, allocations: 29.7 kB / 434.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.2685, allocations: 88.12 kB / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.2685, allocations: 0 / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.2685, allocations: 17.72 kB / 434.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2686, allocations: 310.8 kB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.2687, allocations: 11.98 kB / 434.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.98e-05/0.2687, allocations: 27.38 kB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.72e-05/0.2687, allocations: 39.38 kB / 435 MB, free: 2.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.2687, allocations: 0 / 435 MB, free: 2.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.88e-05/0.2688, allocations: 61.52 kB / 435 MB, free: 2.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2688, allocations: 4 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.2688, allocations: 4.125 kB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.2689, allocations: 4 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.2689, allocations: 4 kB / 435 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.2689, allocations: 4 kB / 435 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.099e-05/0.2689, allocations: 3.938 kB / 435 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.269, allocations: 3.984 kB / 435.1 MB, free: 2.691 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.77e-05/0.269, allocations: 117.8 kB / 435.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.2692, allocations: 85.55 kB / 435.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/0.2693, allocations: 8 kB / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2693, allocations: 0 / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.2693, allocations: 0 / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.2693, allocations: 0 / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.2694, allocations: 136.7 kB / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2694, allocations: 0 / 435.4 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.2695, allocations: 15.92 kB / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2695, allocations: 0 / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.2695, allocations: 0 / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2695, allocations: 0 / 435.4 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2695, allocations: 7.938 kB / 435.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.2697, allocations: 105.4 kB / 435.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.438e-05/0.2697, allocations: 7.891 kB / 435.5 MB, free: 2.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2697, allocations: 3.984 kB / 435.5 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.314e-05/0.2698, allocations: 4 kB / 435.5 MB, free: 2.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.2698, allocations: 11.97 kB / 435.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-06/0.2698, allocations: 4 kB / 435.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.53e-05/0.2698, allocations: 91.25 kB / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2698, allocations: 0 / 435.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001902/0.27, allocations: 4 kB / 435.6 MB, free: 2.016 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.0005148/0.2705, allocations: 0.6358 MB / 436.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001487/0.2707, allocations: 31.97 kB / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2707, allocations: 0 / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.2707, allocations: 0 / 436.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.271, allocations: 42.44 kB / 436.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2721, allocations: 1.166 MB / 437.5 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.2724, allocations: 0.6807 MB / 438.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.412e-05/0.2724, allocations: 0 / 438.2 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.2724, allocations: 19.42 kB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2724, allocations: 0 / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.2991, allocations: 1.474 MB / 439.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.23, allocations: 14.48 kB / 439.7 MB, free: 13.94 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: 13.681900054914877]