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.001197/0.001197, allocations: 120.5 kB / 17.79 MB, free: 5.133 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.001323/0.001323, allocations: 215.2 kB / 20.75 MB, free: 2.18 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.385/1.385, allocations: 230.6 MB / 254.1 MB, free: 15.08 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="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 0.001587/0.001587, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09974, allocations: 53.33 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003019/0.1028, allocations: 1.496 MB / 427.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.1037, allocations: 446.9 kB / 428.3 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.561e-05/0.1037, allocations: 3.938 kB / 428.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.1038, allocations: 3.984 kB / 428.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.467e-05/0.1038, allocations: 7.938 kB / 428.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.1041, allocations: 27.91 kB / 428.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.256e-05/0.1042, allocations: 27.92 kB / 428.3 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1043, allocations: 15.98 kB / 428.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.1043, allocations: 15.88 kB / 428.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.212e-05/0.1044, allocations: 23.91 kB / 428.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1044, allocations: 0 / 428.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.046e-05/0.1044, allocations: 4 kB / 428.4 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.1044, allocations: 7.938 kB / 428.4 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.1044, allocations: 15.92 kB / 428.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.1045, allocations: 35.83 kB / 428.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1046, allocations: 3.938 kB / 428.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1046, allocations: 4 kB / 428.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1046, allocations: 3.938 kB / 428.5 MB, free: 2.637 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.0005187/0.1051, allocations: 351.4 kB / 428.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1051, allocations: 8.031 kB / 428.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.171e-05/0.1052, allocations: 34.75 kB / 428.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.1052, allocations: 4.891 kB / 428.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.1055, allocations: 192.2 kB / 429 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1055, allocations: 384 / 429 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.1055, allocations: 4.375 kB / 429 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.106, allocations: 143.4 kB / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.106, allocations: 0 / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.106, allocations: 0 / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.106, allocations: 0 / 429.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1062, allocations: 35.97 kB / 429.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1063, allocations: 161.6 kB / 429.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.1066, allocations: 78.52 kB / 429.4 MB, free: 1.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1067, allocations: 32.91 kB / 429.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.1067, allocations: 8 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1068, allocations: 34.5 kB / 429.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.1068, allocations: 0 / 429.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003641/0.1071, allocations: 97.58 kB / 429.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.889e-05/0.1072, allocations: 55.39 kB / 429.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.811e-05/0.1073, allocations: 109.9 kB / 429.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1073, allocations: 25.7 kB / 429.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.168e-05/0.1073, allocations: 88.12 kB / 429.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.1074, allocations: 0 / 429.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1074, allocations: 13.72 kB / 429.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1075, allocations: 314.8 kB / 430.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.266e-05/0.1075, allocations: 4 kB / 430.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/0.1076, allocations: 35.61 kB / 430.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.11e-05/0.1076, allocations: 35.38 kB / 430.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1076, allocations: 0 / 430.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.492e-05/0.1077, allocations: 65.61 kB / 430.3 MB, free: 496 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1077, allocations: 7.938 kB / 430.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1077, allocations: 96 / 430.4 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1078, allocations: 11.92 kB / 430.4 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.1078, allocations: 4 kB / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1078, allocations: 0 / 430.4 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.1078, allocations: 7.938 kB / 430.4 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.1078, allocations: 4 kB / 430.4 MB, free: 460 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 9.712e-05/0.1079, allocations: 117.8 kB / 430.5 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.1081, allocations: 89.52 kB / 430.6 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.1082, allocations: 3.906 kB / 430.6 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1082, allocations: 3.938 kB / 430.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1082, allocations: 0 / 430.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1082, allocations: 0 / 430.6 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.1083, allocations: 161.7 kB / 430.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1083, allocations: 0 / 430.7 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.1084, allocations: 15.98 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1084, allocations: 0 / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1084, allocations: 7.938 kB / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1084, allocations: 0 / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1084, allocations: 0 / 430.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002368/0.1087, allocations: 97.09 kB / 430.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.1087, allocations: 85 kB / 431 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1087, allocations: 0 / 431 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.1088, allocations: 15.98 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-06/0.1088, allocations: 0 / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.1088, allocations: 4 kB / 431 MB, free: 15.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.1088, allocations: 87.2 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1088, allocations: 0 / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000186/0.109, allocations: 8 kB / 431.1 MB, free: 15.65 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.0005567/0.1096, allocations: 0.6358 MB / 431.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1097, allocations: 35.91 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1097, allocations: 0 / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-07/0.1097, allocations: 4 kB / 431.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.11, allocations: 28.25 kB / 431.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1111, allocations: 1.177 MB / 432.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.1114, allocations: 0.6807 MB / 433.6 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.1115, allocations: 4 kB / 433.6 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.1115, allocations: 15.42 kB / 433.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1115, allocations: 0 / 433.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.1349, allocations: 1.365 MB / 435 MB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.797, allocations: 10.53 kB / 435 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.194445126922801]