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.001011/0.001011, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009675/0.0009675, allocations: 170 kB / 23.94 MB, free: 0.6211 MB / 18.57 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 0.9467/0.9467, allocations: 177.1 MB / 204.2 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.621e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002169/0.002196, allocations: 1.499 MB / 326.1 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006799/0.002875, allocations: 426.8 kB / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.002951, allocations: 0 / 326.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.002985, allocations: 3.938 kB / 326.5 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.003062, allocations: 7.984 kB / 326.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.003329, allocations: 27.84 kB / 326.5 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.003426, allocations: 39.86 kB / 326.6 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.00354, allocations: 12 kB / 326.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.511e-05/0.003615, allocations: 27.91 kB / 326.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.003655, allocations: 7.984 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.003682, allocations: 4 kB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-06/0.003689, allocations: 0 / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.277e-05/0.003712, allocations: 11.98 kB / 326.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.003746, allocations: 11.94 kB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.003852, allocations: 31.94 kB / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.003856, allocations: 0 / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.003858, allocations: 0 / 326.7 MB, free: 13.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.003863, allocations: 3.938 kB / 326.7 MB, free: 13.83 MB / 298.7 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.0004156/0.004279, allocations: 285.5 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.004328, allocations: 12.02 kB / 327 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.412e-05/0.004362, allocations: 30.75 kB / 327 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.004388, allocations: 8.891 kB / 327 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.004588, allocations: 129.7 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.004598, allocations: 384 / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.004606, allocations: 384 / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.004943, allocations: 143.8 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.004955, allocations: 4.125 kB / 327.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.004966, allocations: 4.125 kB / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.004972, allocations: 0 / 327.3 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.005066, allocations: 31.97 kB / 327.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001092/0.005175, allocations: 128.8 kB / 327.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.00533, allocations: 78.56 kB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.00539, allocations: 32.86 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.00541, allocations: 0 / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.005431, allocations: 38.56 kB / 327.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.005433, allocations: 3.938 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000227/0.00566, allocations: 101.5 kB / 327.7 MB, free: 12.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.005705, allocations: 59.41 kB / 327.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.005766, allocations: 109.8 kB / 327.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005776, allocations: 25.7 kB / 327.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.005805, allocations: 80.14 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.005807, allocations: 4 kB / 328 MB, free: 12.37 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.909e-05/0.005826, allocations: 17.72 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.358e-05/0.00591, allocations: 310.8 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.58e-06/0.005915, allocations: 0 / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.017e-06/0.005919, allocations: 0 / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.12e-05/0.00594, allocations: 87.22 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.005959, allocations: 75.28 kB / 328.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.051e-05/0.006, allocations: 37.64 kB / 328.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.006029, allocations: 79.28 kB / 328.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.00605, allocations: 75.28 kB / 328.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-05/0.006104, allocations: 166.4 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.918e-05/0.006123, allocations: 75.38 kB / 328.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-05/0.006162, allocations: 158.5 kB / 329 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.2e-05/0.006204, allocations: 79.22 kB / 329.1 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.006223, allocations: 83.27 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (0): * Single equations (assignments): 0 * 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.177e-05/0.006294, allocations: 189.1 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.006425, allocations: 77.59 kB / 329.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.778e-05/0.006452, allocations: 4 kB / 329.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.006456, allocations: 7.938 kB / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.006461, allocations: 0 / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.006465, allocations: 0 / 329.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.419e-05/0.006529, allocations: 124.8 kB / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.006532, allocations: 0 / 329.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.717e-05/0.006619, allocations: 11.98 kB / 329.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.006623, allocations: 4 kB / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.00663, allocations: 4 kB / 329.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.006635, allocations: 3.938 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.006636, allocations: 0 / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.006772, allocations: 105 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.006784, allocations: 7.984 kB / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.006796, allocations: 0 / 329.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.533e-05/0.006821, allocations: 11.94 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.016e-06/0.006824, allocations: 4 kB / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.00683, allocations: 0 / 329.7 MB, free: 10.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.551e-05/0.006865, allocations: 95.25 kB / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006865, allocations: 0 / 329.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001448/0.00701, allocations: 4 kB / 329.8 MB, free: 10.4 MB / 298.7 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.0003273/0.007337, allocations: 0.6319 MB / 330.4 MB, free: 9.742 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.721e-05/0.007425, allocations: 27.92 kB / 330.5 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.007427, allocations: 7.938 kB / 330.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-07/0.007427, allocations: 0 / 330.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.007688, allocations: 31.91 kB / 330.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007688/0.008456, allocations: 1.373 MB / 331.9 MB, free: 8.223 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.076e-05/0.008497, allocations: 67.33 kB / 332 MB, free: 8.137 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.703e-05/0.008514, allocations: 4 kB / 332 MB, free: 8.133 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.09e-05/0.008555, allocations: 16.48 kB / 332 MB, free: 8.117 MB / 298.7 MB Notification: Performance of SimCode: time 4.6e-07/0.008556, allocations: 3.938 kB / 332 MB, free: 8.113 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.02366, allocations: 1.961 MB / 333.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/6.779, allocations: 15.05 kB / 333.9 MB, free: 6.258 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/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: 8.550728282891214]