Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001935/0.001935, allocations: 113.1 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.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.002381/0.002381, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.65/1.65, allocations: 230.6 MB / 257.5 MB, free: 8 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 51.92 kB / 378.3 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3995, allocations: 53.35 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003465/0.4029, allocations: 1.724 MB / 433.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005246/0.4035, allocations: 171.4 kB / 433.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.4036, allocations: 3.938 kB / 433.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.203e-05/0.4036, allocations: 7.938 kB / 433.5 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.4038, allocations: 15.88 kB / 433.5 MB, free: 5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.4041, allocations: 39.89 kB / 433.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.4042, allocations: 55.84 kB / 433.6 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.4044, allocations: 19.98 kB / 433.7 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.4044, allocations: 23.86 kB / 433.7 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.444e-05/0.4045, allocations: 27.84 kB / 433.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.4045, allocations: 8 kB / 433.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.385e-05/0.4045, allocations: 4 kB / 433.7 MB, free: 4.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.4046, allocations: 19.92 kB / 433.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.4046, allocations: 35.75 kB / 433.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.4048, allocations: 72.91 kB / 433.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4048, allocations: 0 / 433.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4048, allocations: 0 / 433.9 MB, free: 4.703 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.4048, allocations: 0 / 433.9 MB, free: 4.703 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005752/0.4054, allocations: 313.9 kB / 434.2 MB, free: 4.363 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.4054, allocations: 11.97 kB / 434.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.4055, allocations: 8.891 kB / 434.2 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.4057, allocations: 148.8 kB / 434.3 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.4058, allocations: 8.375 kB / 434.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.4058, allocations: 4.375 kB / 434.3 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.4062, allocations: 159.9 kB / 434.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4062, allocations: 8.188 kB / 434.5 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.4062, allocations: 11.92 kB / 434.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4062, allocations: 0 / 434.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.4063, allocations: 39.91 kB / 434.5 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.4068, allocations: 337 kB / 434.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.407, allocations: 107.9 kB / 435 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.4072, allocations: 58.55 kB / 435 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.4072, allocations: 4 kB / 435 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.4072, allocations: 38.56 kB / 435.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.4072, allocations: 0 / 435.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.000349/0.4076, allocations: 117.7 kB / 435.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/0.4077, allocations: 114.7 kB / 435.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.4078, allocations: 138.1 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.4078, allocations: 29.7 kB / 435.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.4079, allocations: 88.12 kB / 435.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.4079, allocations: 7.953 kB / 435.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.408, allocations: 29.64 kB / 435.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4081, allocations: 318.8 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.4082, allocations: 15.92 kB / 435.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.523e-05/0.4083, allocations: 71.72 kB / 436 MB, free: 2.297 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.4084, allocations: 95.53 kB / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4084, allocations: 0 / 436.1 MB, free: 2.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001966/0.4086, allocations: 113.4 kB / 436.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4086, allocations: 4 kB / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.4086, allocations: 4 kB / 436.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.967e-05/0.4087, allocations: 4 kB / 436.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.4087, allocations: 27.92 kB / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4087, allocations: 0 / 436.2 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.4088, allocations: 11.89 kB / 436.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.4088, allocations: 8.281 kB / 436.3 MB, free: 2 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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 0.0001118/0.4089, allocations: 133.7 kB / 436.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.409, allocations: 73.64 kB / 436.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.626e-05/0.4091, allocations: 16.7 kB / 436.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4091, allocations: 0 / 436.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4091, allocations: 0 / 436.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4091, allocations: 4 kB / 436.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.4093, allocations: 156.6 kB / 436.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4093, allocations: 0 / 436.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/0.4094, allocations: 19.98 kB / 436.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4094, allocations: 7.938 kB / 436.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4094, allocations: 4 kB / 436.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4094, allocations: 0 / 436.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4094, allocations: 0 / 436.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.4098, allocations: 320.3 kB / 437 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.4099, allocations: 27.92 kB / 437 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4099, allocations: 4.219 kB / 437 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.593e-05/0.41, allocations: 4 kB / 437 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.41, allocations: 7.938 kB / 437 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.41, allocations: 7.938 kB / 437 MB, free: 1.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.498e-05/0.4101, allocations: 110.2 kB / 437.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4101, allocations: 0 / 437.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.4104, allocations: 8 kB / 437.1 MB, free: 1.031 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0001061/0.4105, allocations: 103.2 kB / 437.2 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.4107, allocations: 55.84 kB / 437.3 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4107, allocations: 3.938 kB / 437.3 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.367e-05/0.4107, allocations: 16.61 kB / 437.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.4112, allocations: 50.36 kB / 437.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004032/0.4116, allocations: 191.7 kB / 437.6 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.412, allocations: 0.7041 MB / 438.3 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.486e-05/0.412, allocations: 4.672 kB / 438.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.412, allocations: 15.44 kB / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.412, allocations: 0 / 438.3 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Templates: time 0.003673/0.4157, allocations: 0.7569 MB / 439 MB, free: 15.08 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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: 5.271467653103173]