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.001888/0.001888, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.002212/0.002212, allocations: 180.9 kB / 23.71 MB, free: 4.695 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.585/1.585, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.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.001542/0.001542, allocations: 43.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.3042, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003437/0.3076, allocations: 1.491 MB / 424.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.3086, allocations: 415 kB / 425 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.27e-05/0.3087, allocations: 7.875 kB / 425 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.365e-05/0.3087, allocations: 0 / 425 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.387e-05/0.3088, allocations: 15.88 kB / 425 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.3091, allocations: 23.22 kB / 425.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.3092, allocations: 35.92 kB / 425.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.3094, allocations: 19.86 kB / 425.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.135e-05/0.3094, allocations: 8 kB / 425.1 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.3095, allocations: 19.91 kB / 425.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3095, allocations: 8 kB / 425.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.3095, allocations: 4 kB / 425.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.3096, allocations: 7.938 kB / 425.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.337e-05/0.3096, allocations: 15.92 kB / 425.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.3097, allocations: 39.48 kB / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3097, allocations: 0 / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3097, allocations: 0 / 425.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3097, allocations: 4 kB / 425.2 MB, free: 12.57 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.0006171/0.3104, allocations: 276.8 kB / 425.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.3104, allocations: 12.03 kB / 425.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.3105, allocations: 8.891 kB / 425.5 MB, free: 12.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.3107, allocations: 122.5 kB / 425.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.3107, allocations: 4.375 kB / 425.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.3108, allocations: 4.375 kB / 425.6 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005114/0.3113, allocations: 139.6 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3113, allocations: 0 / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.3113, allocations: 4 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3113, allocations: 0 / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.3115, allocations: 35.95 kB / 425.8 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.3117, allocations: 128.7 kB / 425.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.312, allocations: 94.47 kB / 426 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3121, allocations: 28.88 kB / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3121, allocations: 0 / 426.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.3121, allocations: 38.5 kB / 426.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.3121, allocations: 4 kB / 426.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003994/0.3125, allocations: 97.56 kB / 426.2 MB, free: 11.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.3126, allocations: 55.41 kB / 426.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3127, allocations: 109.8 kB / 426.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3127, allocations: 25.7 kB / 426.4 MB, free: 11.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.3128, allocations: 80.14 kB / 426.5 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.3128, allocations: 8 kB / 426.5 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.3128, allocations: 13.72 kB / 426.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3129, allocations: 318.8 kB / 426.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.313, allocations: 4 kB / 426.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.808e-05/0.313, allocations: 27.38 kB / 426.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/0.3131, allocations: 39.38 kB / 426.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3131, allocations: 0 / 426.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.414e-05/0.3131, allocations: 53.62 kB / 426.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3132, allocations: 7.938 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3132, allocations: 7.875 kB / 426.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.3132, allocations: 4.125 kB / 426.9 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.3133, allocations: 15.98 kB / 427 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3133, allocations: 0 / 427 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.468e-05/0.3133, allocations: 11.95 kB / 427 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.3133, allocations: 0 / 427 MB, free: 10.62 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.68e-05/0.3134, allocations: 109.8 kB / 427.1 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.3136, allocations: 77.59 kB / 427.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.3137, allocations: 11.94 kB / 427.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3137, allocations: 4 kB / 427.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3137, allocations: 0 / 427.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.3137, allocations: 0 / 427.2 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000151/0.3138, allocations: 136.7 kB / 427.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3138, allocations: 0 / 427.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/0.3139, allocations: 11.98 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3139, allocations: 3.938 kB / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.3139, allocations: 0 / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3139, allocations: 0 / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3139, allocations: 0 / 427.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.3142, allocations: 113 kB / 427.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.3142, allocations: 4.312 kB / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3142, allocations: 0 / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.571e-05/0.3142, allocations: 4 kB / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-06/0.3143, allocations: 0 / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.3143, allocations: 7.984 kB / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.132e-05/0.3143, allocations: 91.22 kB / 427.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3143, allocations: 0 / 427.5 MB, free: 9.973 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001929/0.3145, allocations: 4 kB / 427.5 MB, free: 9.969 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.0001421/0.3147, allocations: 103.2 kB / 427.6 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.3149, allocations: 31.97 kB / 427.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3149, allocations: 0 / 427.7 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.3149, allocations: 3.938 kB / 427.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.3153, allocations: 36.2 kB / 427.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.3156, allocations: 121.6 kB / 427.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.316, allocations: 0.6844 MB / 428.5 MB, free: 8.934 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.852e-05/0.3161, allocations: 7.922 kB / 428.5 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.505e-05/0.3161, allocations: 15.38 kB / 428.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3161, allocations: 0 / 428.5 MB, free: 8.91 MB / 334.1 MB Notification: Performance of Templates: time 0.003236/0.3193, allocations: 444.9 kB / 429 MB, free: 8.477 MB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/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: 4.779605492018163]