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.001444/0.001444, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001611/0.001611, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.367/1.367, allocations: 230.6 MB / 258.3 MB, free: 7.801 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 47.91 kB / 378.5 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2587, allocations: 53.36 MB / 431.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002763/0.2614, allocations: 1.491 MB / 433.4 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.2622, allocations: 423 kB / 433.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.2622, allocations: 0 / 433.8 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.2623, allocations: 3.938 kB / 433.8 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.2623, allocations: 7.938 kB / 433.8 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.2626, allocations: 27.95 kB / 433.8 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.749e-05/0.2627, allocations: 35.8 kB / 433.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.2627, allocations: 11.94 kB / 433.9 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.2628, allocations: 11.98 kB / 433.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.2629, allocations: 23.91 kB / 433.9 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.2629, allocations: 4 kB / 433.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.2629, allocations: 4 kB / 433.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.2629, allocations: 7.938 kB / 433.9 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.2629, allocations: 11.94 kB / 433.9 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.263, allocations: 37.94 kB / 434 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.263, allocations: 4 kB / 434 MB, free: 4.551 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.263, allocations: 0 / 434 MB, free: 4.551 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.263, allocations: 0 / 434 MB, free: 4.551 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.0004429/0.2635, allocations: 270.3 kB / 434.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2635, allocations: 16.02 kB / 434.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.142e-05/0.2635, allocations: 4.188 kB / 434.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.2636, allocations: 34.69 kB / 434.3 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.446e-05/0.2636, allocations: 8.891 kB / 434.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.2638, allocations: 126.5 kB / 434.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.2638, allocations: 4.312 kB / 434.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2638, allocations: 4.375 kB / 434.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.2643, allocations: 143.2 kB / 434.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2643, allocations: 0 / 434.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2643, allocations: 0 / 434.6 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.2643, allocations: 3.938 kB / 434.6 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001538/0.2644, allocations: 31.97 kB / 434.6 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.2646, allocations: 128.8 kB / 434.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.2648, allocations: 82.55 kB / 434.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.2649, allocations: 32.88 kB / 434.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.265, allocations: 3.938 kB / 434.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.265, allocations: 34.56 kB / 434.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.265, allocations: 0 / 434.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003363/0.2653, allocations: 97.56 kB / 435 MB, free: 3.402 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2654, allocations: 59.41 kB / 435 MB, free: 3.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/0.2654, allocations: 105.8 kB / 435.1 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.2655, allocations: 25.7 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.2655, allocations: 88.14 kB / 435.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.341e-06/0.2655, allocations: 0 / 435.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.2655, allocations: 13.72 kB / 435.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2657, allocations: 318.8 kB / 435.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.2657, allocations: 4 kB / 435.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.2658, allocations: 35.55 kB / 435.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/0.2658, allocations: 35.44 kB / 435.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2658, allocations: 0 / 435.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.644e-05/0.2659, allocations: 69.39 kB / 435.7 MB, free: 2.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2659, allocations: 4 kB / 435.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2659, allocations: 0 / 435.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2659, allocations: 4 kB / 435.7 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.228e-05/0.266, allocations: 7.984 kB / 435.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.266, allocations: 4.125 kB / 435.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.983e-05/0.266, allocations: 7.938 kB / 435.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.266, allocations: 0 / 435.7 MB, free: 2.559 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 8.859e-05/0.2661, allocations: 113.8 kB / 435.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.2663, allocations: 85.48 kB / 435.9 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.2663, allocations: 4 kB / 435.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2663, allocations: 7.938 kB / 435.9 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2663, allocations: 4 kB / 435.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2663, allocations: 0 / 435.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.2664, allocations: 128.8 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2664, allocations: 3.938 kB / 436.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.2665, allocations: 11.98 kB / 436.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2665, allocations: 0 / 436.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2665, allocations: 0 / 436.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2665, allocations: 4 kB / 436.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2665, allocations: 0 / 436.1 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.2667, allocations: 105 kB / 436.2 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.2668, allocations: 11.89 kB / 436.2 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.2668, allocations: 4 kB / 436.2 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.2668, allocations: 7.984 kB / 436.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-06/0.2668, allocations: 0 / 436.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.2668, allocations: 0 / 436.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.032e-05/0.2669, allocations: 87.28 kB / 436.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2669, allocations: 0 / 436.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001805/0.2671, allocations: 4 kB / 436.3 MB, free: 1.902 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.0005327/0.2676, allocations: 0.6358 MB / 436.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.2677, allocations: 39.91 kB / 437 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2678, allocations: 0 / 437 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.2678, allocations: 0 / 437 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.268, allocations: 34.53 kB / 437 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2692, allocations: 1.169 MB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.025e-05/0.2692, allocations: 83.2 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.309e-05/0.2692, allocations: 0 / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.2693, allocations: 11.44 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2693, allocations: 0 / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.2906, allocations: 1.541 MB / 439.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.76, allocations: 15.81 kB / 439.8 MB, free: 14.39 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.128172796103172]