Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 107.9 kB / 18.48 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 198.5 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 43.94 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0997/0.1011, allocations: 52.15 MB / 418.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002845/0.104, allocations: 1.481 MB / 420 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007738/0.1048, allocations: 410.9 kB / 420.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.012e-05/0.1048, allocations: 4 kB / 420.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.776e-05/0.1049, allocations: 3.938 kB / 420.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-05/0.1049, allocations: 7.938 kB / 420.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.1052, allocations: 27.91 kB / 420.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.1053, allocations: 31.92 kB / 420.4 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1054, allocations: 11.98 kB / 420.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.1055, allocations: 27.86 kB / 420.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.655e-05/0.1055, allocations: 11.94 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1056, allocations: 4 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.837e-06/0.1056, allocations: 0 / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.758e-05/0.1056, allocations: 15.92 kB / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.1057, allocations: 11.94 kB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.1058, allocations: 39.81 kB / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1058, allocations: 0 / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1058, allocations: 0 / 420.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1058, allocations: 0 / 420.6 MB, free: 10.52 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.0005384/0.1063, allocations: 351.3 kB / 420.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1064, allocations: 12.03 kB / 420.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.279e-05/0.1064, allocations: 4.188 kB / 420.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.138e-05/0.1064, allocations: 34.73 kB / 421 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.327e-05/0.1064, allocations: 4.938 kB / 421 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1067, allocations: 180.3 kB / 421.1 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.1067, allocations: 12.25 kB / 421.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1067, allocations: 4.359 kB / 421.2 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.1071, allocations: 147.2 kB / 421.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1071, allocations: 0 / 421.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.1071, allocations: 4 kB / 421.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1071, allocations: 0 / 421.3 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1073, allocations: 39.95 kB / 421.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.1075, allocations: 157.6 kB / 421.5 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.1078, allocations: 86.44 kB / 421.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.1079, allocations: 28.92 kB / 421.6 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1079, allocations: 7.938 kB / 421.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.1079, allocations: 34.56 kB / 421.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1079, allocations: 0 / 421.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003716/0.1083, allocations: 93.62 kB / 421.7 MB, free: 9.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.1084, allocations: 59.34 kB / 421.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1085, allocations: 109.8 kB / 421.9 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1085, allocations: 25.7 kB / 421.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.1085, allocations: 88.14 kB / 422 MB, free: 8.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.1085, allocations: 0 / 422 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.1086, allocations: 13.72 kB / 422 MB, free: 8.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.1087, allocations: 318.8 kB / 422.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.397e-05/0.1087, allocations: 4 kB / 422.3 MB, free: 8.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/0.1088, allocations: 31.44 kB / 422.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.1088, allocations: 27.38 kB / 422.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1088, allocations: 0 / 422.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.939e-05/0.1089, allocations: 65.56 kB / 422.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1089, allocations: 8 kB / 422.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1089, allocations: 0 / 422.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1089, allocations: 0 / 422.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.144e-05/0.109, allocations: 15.92 kB / 422.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.109, allocations: 0 / 422.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.109, allocations: 7.891 kB / 422.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.109, allocations: 4 kB / 422.5 MB, free: 8.32 MB / 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 8.645e-05/0.1091, allocations: 114 kB / 422.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.1093, allocations: 77.59 kB / 422.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.1094, allocations: 7.906 kB / 422.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1094, allocations: 4.266 kB / 422.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1094, allocations: 0 / 422.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1094, allocations: 0 / 422.7 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001171/0.1095, allocations: 157.7 kB / 422.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1095, allocations: 7.875 kB / 422.9 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.1096, allocations: 19.91 kB / 422.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1096, allocations: 8 kB / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.1096, allocations: 0 / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1096, allocations: 0 / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1096, allocations: 0 / 422.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1098, allocations: 105 kB / 423 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.1099, allocations: 85.05 kB / 423.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1099, allocations: 0 / 423.1 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.066e-05/0.1099, allocations: 15.98 kB / 423.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-06/0.1099, allocations: 0 / 423.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.11, allocations: 0 / 423.1 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.255e-05/0.11, allocations: 91.58 kB / 423.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.11, allocations: 0 / 423.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001771/0.1102, allocations: 4 kB / 423.2 MB, free: 7.527 MB / 350.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.0005879/0.1108, allocations: 0.6474 MB / 423.8 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.1109, allocations: 39.91 kB / 423.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1109, allocations: 0 / 423.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.1109, allocations: 0 / 423.9 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.1112, allocations: 38.14 kB / 423.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1124, allocations: 1.17 MB / 425.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.1127, allocations: 0.6961 MB / 425.8 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.502e-05/0.1127, allocations: 8 kB / 425.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.1128, allocations: 7.438 kB / 425.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1128, allocations: 0 / 425.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01741/0.1302, allocations: 1.415 MB / 427.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/7.907, allocations: 10.77 kB / 427.2 MB, free: 3.492 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.228974925994407]