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.001357/0.001357, allocations: 118.5 kB / 18.41 MB, free: 4.684 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.001399/0.0014, allocations: 190.7 kB / 21.35 MB, free: 1.75 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.53/1.53, allocations: 222.9 MB / 247.1 MB, free: 4.211 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 47.92 kB / 358.7 MB, free: 8.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.111, allocations: 49.44 MB / 408.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003218/0.1143, allocations: 1.481 MB / 409.6 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007975/0.1151, allocations: 403 kB / 410 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.403e-05/0.1152, allocations: 4 kB / 410 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.654e-05/0.1153, allocations: 7.922 kB / 410 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.005e-05/0.1153, allocations: 7.938 kB / 410 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002599/0.1156, allocations: 27.97 kB / 410 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.1157, allocations: 31.86 kB / 410.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1158, allocations: 15.92 kB / 410.1 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.1159, allocations: 15.94 kB / 410.1 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.1159, allocations: 15.92 kB / 410.1 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.116, allocations: 4 kB / 410.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.116, allocations: 0 / 410.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.116, allocations: 8 kB / 410.1 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.116, allocations: 23.86 kB / 410.1 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.1162, allocations: 35.88 kB / 410.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1162, allocations: 0 / 410.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1162, allocations: 0 / 410.2 MB, free: 4.773 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1162, allocations: 0 / 410.2 MB, free: 4.773 MB / 334.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.0005417/0.1167, allocations: 351.3 kB / 410.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1168, allocations: 12.03 kB / 410.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.1168, allocations: 0.9375 kB / 410.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1171, allocations: 188.2 kB / 410.7 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1171, allocations: 8.312 kB / 410.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1172, allocations: 4.375 kB / 410.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.1176, allocations: 135.6 kB / 410.9 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1177, allocations: 4 kB / 410.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1177, allocations: 0 / 410.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1177, allocations: 3.938 kB / 410.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001953/0.1179, allocations: 43.89 kB / 410.9 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.1181, allocations: 165.6 kB / 411.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002829/0.1184, allocations: 78.55 kB / 411.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1185, allocations: 32.88 kB / 411.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1185, allocations: 4 kB / 411.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1185, allocations: 38.5 kB / 411.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1186, allocations: 0 / 411.2 MB, free: 3.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003875/0.1189, allocations: 101.6 kB / 411.3 MB, free: 3.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.119, allocations: 55.41 kB / 411.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.931e-05/0.1191, allocations: 105.8 kB / 411.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1191, allocations: 25.7 kB / 411.5 MB, free: 3.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.1192, allocations: 88.14 kB / 411.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/0.1192, allocations: 0 / 411.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.1193, allocations: 17.7 kB / 411.6 MB, free: 3.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1194, allocations: 318.8 kB / 411.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.1194, allocations: 0 / 411.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.1195, allocations: 31.42 kB / 411.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.773e-05/0.1195, allocations: 35.38 kB / 412 MB, free: 2.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1195, allocations: 0 / 412 MB, free: 2.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.495e-05/0.1196, allocations: 65.56 kB / 412 MB, free: 2.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1197, allocations: 11.94 kB / 412.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1197, allocations: 0 / 412.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1197, allocations: 0 / 412.1 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.1198, allocations: 8 kB / 412.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1198, allocations: 320 / 412.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.1198, allocations: 3.953 kB / 412.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1198, allocations: 8.125 kB / 412.1 MB, free: 2.617 MB / 334.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.513e-05/0.1199, allocations: 109.8 kB / 412.2 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.1201, allocations: 77.53 kB / 412.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.1202, allocations: 15.89 kB / 412.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1202, allocations: 0 / 412.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1202, allocations: 0 / 412.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1202, allocations: 0 / 412.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.1203, allocations: 157.7 kB / 412.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1203, allocations: 4 kB / 412.4 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.697e-05/0.1204, allocations: 11.94 kB / 412.4 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.1204, allocations: 11.88 kB / 412.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1205, allocations: 3.984 kB / 412.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1205, allocations: 0 / 412.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.1205, allocations: 3.984 kB / 412.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.1208, allocations: 105 kB / 412.6 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.1208, allocations: 88.98 kB / 412.7 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.1208, allocations: 3.938 kB / 412.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.1209, allocations: 7.984 kB / 412.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-06/0.1209, allocations: 0 / 412.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1209, allocations: 0 / 412.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.508e-05/0.121, allocations: 87.28 kB / 412.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.121, allocations: 0 / 412.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001924/0.1212, allocations: 4 kB / 412.8 MB, free: 1.828 MB / 334.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.0001366/0.1213, allocations: 111.7 kB / 412.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1215, allocations: 35.91 kB / 412.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1215, allocations: 0 / 412.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-07/0.1215, allocations: 0 / 412.9 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1219, allocations: 29.52 kB / 412.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003348/0.1222, allocations: 151.5 kB / 413.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.1226, allocations: 0.6844 MB / 413.8 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.1226, allocations: 7.438 kB / 413.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1226, allocations: 0 / 413.8 MB, free: 0.75 MB / 334.1 MB Notification: Performance of Templates: time 0.002207/0.1248, allocations: 0.6049 MB / 414.4 MB, free: 148 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] 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: 7.016769854002632]