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.001544/0.001544, allocations: 113 kB / 18.49 MB, free: 4.598 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.001909/0.001909, allocations: 213.4 kB / 21.45 MB, free: 1.652 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.436/1.436, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.001518/0.001518, allocations: 55.92 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1064, allocations: 53.32 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002702/0.1091, allocations: 1.494 MB / 428.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007795/0.1099, allocations: 450.9 kB / 429 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.1099, allocations: 0 / 429 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.583e-05/0.11, allocations: 11.94 kB / 429 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.58e-05/0.11, allocations: 3.938 kB / 429 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.1103, allocations: 30.66 kB / 429 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.1103, allocations: 27.92 kB / 429 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.1104, allocations: 15.97 kB / 429 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.376e-05/0.1105, allocations: 23.86 kB / 429.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.839e-05/0.1105, allocations: 11.94 kB / 429.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1105, allocations: 0 / 429.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.1106, allocations: 4 kB / 429.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.1106, allocations: 11.92 kB / 429.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.1106, allocations: 15.94 kB / 429.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.1107, allocations: 43.75 kB / 429.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1107, allocations: 4 kB / 429.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1107, allocations: 0 / 429.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.1107, allocations: 0 / 429.2 MB, free: 2.66 MB / 350.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.0005233/0.1113, allocations: 347.4 kB / 429.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1113, allocations: 12.03 kB / 429.5 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.716e-05/0.1113, allocations: 4.172 kB / 429.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.1113, allocations: 38.75 kB / 429.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.1114, allocations: 8.891 kB / 429.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1116, allocations: 176.3 kB / 429.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.593e-06/0.1116, allocations: 384 / 429.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1116, allocations: 8.312 kB / 429.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004576/0.1121, allocations: 143.2 kB / 429.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1121, allocations: 4 kB / 429.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1121, allocations: 0 / 429.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1121, allocations: 0 / 429.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.1123, allocations: 35.95 kB / 429.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.1124, allocations: 157.7 kB / 430.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002859/0.1127, allocations: 86.47 kB / 430.2 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.1128, allocations: 28.89 kB / 430.2 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1128, allocations: 3.938 kB / 430.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1129, allocations: 34.56 kB / 430.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1129, allocations: 4 kB / 430.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003594/0.1132, allocations: 93.62 kB / 430.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.1133, allocations: 59.34 kB / 430.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.917e-05/0.1134, allocations: 105.8 kB / 430.5 MB, free: 1.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1134, allocations: 25.7 kB / 430.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.1134, allocations: 84.14 kB / 430.6 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.1135, allocations: 11.94 kB / 430.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.1135, allocations: 13.72 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.1136, allocations: 318.8 kB / 430.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.1136, allocations: 0 / 430.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.1137, allocations: 27.44 kB / 431 MB, free: 0.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.1137, allocations: 39.38 kB / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1137, allocations: 0 / 431 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.564e-05/0.1138, allocations: 61.52 kB / 431.1 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1138, allocations: 7.938 kB / 431.1 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1138, allocations: 4 kB / 431.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1138, allocations: 0 / 431.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.498e-05/0.1139, allocations: 16.05 kB / 431.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1139, allocations: 4 kB / 431.1 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.1139, allocations: 3.938 kB / 431.1 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.1139, allocations: 4 kB / 431.1 MB, free: 480 kB / 350.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.983e-05/0.114, allocations: 109.8 kB / 431.2 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.1142, allocations: 81.83 kB / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.1142, allocations: 7.938 kB / 431.3 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1142, allocations: 8 kB / 431.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.1143, allocations: 0 / 431.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1143, allocations: 0 / 431.3 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1144, allocations: 161.7 kB / 431.4 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1144, allocations: 3.938 kB / 431.5 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.1145, allocations: 15.92 kB / 431.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1145, allocations: 0 / 431.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1145, allocations: 0 / 431.5 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.79e-06/0.1145, allocations: 8 kB / 431.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1145, allocations: 0 / 431.5 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1147, allocations: 101.1 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.1148, allocations: 85 kB / 431.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1148, allocations: 8 kB / 431.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.705e-05/0.1148, allocations: 3.984 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-06/0.1148, allocations: 4 kB / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1149, allocations: 0 / 431.7 MB, free: 15.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.277e-05/0.1149, allocations: 87.28 kB / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1149, allocations: 0 / 431.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001842/0.1151, allocations: 4 kB / 431.8 MB, free: 15.68 MB / 366.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.0005662/0.1157, allocations: 0.6436 MB / 432.4 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.1158, allocations: 39.91 kB / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1158, allocations: 0 / 432.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.8e-07/0.1158, allocations: 3.938 kB / 432.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.1162, allocations: 26.78 kB / 432.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.1173, allocations: 1.182 MB / 433.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1176, allocations: 0.6846 MB / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.655e-05/0.1176, allocations: 0 / 434.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.1177, allocations: 15.44 kB / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1177, allocations: 0 / 434.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.1345, allocations: 1.402 MB / 435.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.826/7.961, allocations: 13.3 kB / 435.8 MB, free: 11.66 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.558895430003759]