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.001235/0.001235, allocations: 124.7 kB / 17.79 MB, free: 5.246 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.00132/0.00132, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.397/1.397, allocations: 225.6 MB / 249.1 MB, free: 3.617 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 47.92 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.09362, allocations: 52.15 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002591/0.09621, allocations: 1.477 MB / 419.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000657/0.09687, allocations: 415 kB / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.09692, allocations: 0 / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.09695, allocations: 3.938 kB / 419.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.562e-05/0.09702, allocations: 11.91 kB / 419.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.09724, allocations: 31.91 kB / 419.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.336e-05/0.09732, allocations: 35.92 kB / 419.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.904e-05/0.0974, allocations: 3.984 kB / 419.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.931e-05/0.09745, allocations: 19.92 kB / 419.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.848e-05/0.09749, allocations: 15.92 kB / 419.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.09751, allocations: 8 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.885e-06/0.09751, allocations: 0 / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.964e-05/0.09753, allocations: 8 kB / 419.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.09757, allocations: 23.86 kB / 419.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.655e-05/0.09766, allocations: 35.77 kB / 419.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.09766, allocations: 3.984 kB / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.09767, allocations: 0 / 419.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.09767, allocations: 0 / 419.9 MB, free: 10.5 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.0004458/0.09812, allocations: 351.3 kB / 420.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.09815, allocations: 16.03 kB / 420.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.962e-05/0.09819, allocations: 30.75 kB / 420.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.09821, allocations: 4.938 kB / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.0984, allocations: 176.3 kB / 420.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.09841, allocations: 384 / 420.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.09842, allocations: 8.375 kB / 420.4 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.09882, allocations: 143.3 kB / 420.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.09883, allocations: 3.938 kB / 420.6 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.09884, allocations: 4 kB / 420.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.09884, allocations: 0 / 420.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.09899, allocations: 35.95 kB / 420.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.09914, allocations: 169.6 kB / 420.8 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.09938, allocations: 74.45 kB / 420.9 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.09949, allocations: 40.84 kB / 420.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.09951, allocations: 0 / 420.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.09954, allocations: 42.5 kB / 420.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.09954, allocations: 0 / 420.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003185/0.09986, allocations: 89.64 kB / 421 MB, free: 9.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.09992, allocations: 55.41 kB / 421.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.388e-05/0.1, allocations: 105.8 kB / 421.2 MB, free: 8.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1, allocations: 25.7 kB / 421.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.1001, allocations: 88.14 kB / 421.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.677e-06/0.1001, allocations: 3.984 kB / 421.3 MB, free: 8.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1001, allocations: 17.72 kB / 421.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1002, allocations: 318.8 kB / 421.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.1002, allocations: 0 / 421.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.265e-05/0.1003, allocations: 31.42 kB / 421.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.624e-05/0.1003, allocations: 39.38 kB / 421.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1003, allocations: 0 / 421.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.19e-05/0.1004, allocations: 57.56 kB / 421.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1004, allocations: 4 kB / 421.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.1004, allocations: 4 kB / 421.8 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1004, allocations: 4.125 kB / 421.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.1005, allocations: 4 kB / 421.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1005, allocations: 4 kB / 421.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.1005, allocations: 7.891 kB / 421.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1005, allocations: 4 kB / 421.8 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 7.787e-05/0.1006, allocations: 113.8 kB / 421.9 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.1008, allocations: 81.86 kB / 422 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.1008, allocations: 15.89 kB / 422 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1008, allocations: 4 kB / 422 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1008, allocations: 0 / 422 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1008, allocations: 0 / 422 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.1009, allocations: 161.6 kB / 422.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1009, allocations: 0 / 422.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/0.101, allocations: 15.92 kB / 422.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.101, allocations: 0 / 422.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.101, allocations: 0 / 422.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.101, allocations: 4 kB / 422.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.101, allocations: 0 / 422.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.1012, allocations: 105 kB / 422.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.1013, allocations: 85.05 kB / 422.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1013, allocations: 8 kB / 422.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.134e-05/0.1013, allocations: 3.984 kB / 422.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-06/0.1013, allocations: 7.938 kB / 422.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.1013, allocations: 4 kB / 422.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.785e-05/0.1014, allocations: 91.56 kB / 422.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1014, allocations: 0 / 422.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001765/0.1016, allocations: 4 kB / 422.5 MB, free: 7.52 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.0005065/0.1021, allocations: 0.6474 MB / 423.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.1022, allocations: 31.97 kB / 423.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1022, allocations: 0 / 423.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.1022, allocations: 3.938 kB / 423.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.1025, allocations: 39.94 kB / 423.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009869/0.1035, allocations: 1.174 MB / 424.4 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.1038, allocations: 0.6805 MB / 425.1 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.317e-05/0.1038, allocations: 4 kB / 425.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.1038, allocations: 11.44 kB / 425.1 MB, free: 4.773 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1038, allocations: 7.938 kB / 425.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.958/1.062, allocations: 1.376 MB / 426.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.664/10.73, allocations: 9.391 kB / 426.5 MB, free: 3.504 MB / 350.1 MB " [Timeout remaining time 649] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.391732817981392]