Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001625/0.001625, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001936/0.001936, allocations: 215.7 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 230.2 MB / 256.2 MB, free: 8.562 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 71.88 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.4, allocations: 53.31 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003978/0.404, allocations: 1.731 MB / 431.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000555/0.4045, allocations: 159.4 kB / 431.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.4046, allocations: 7.938 kB / 431.7 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.147e-05/0.4047, allocations: 7.922 kB / 431.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.4049, allocations: 15.86 kB / 431.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.4053, allocations: 39.91 kB / 431.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.4054, allocations: 51.89 kB / 431.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.4056, allocations: 27.98 kB / 431.8 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.912e-05/0.4056, allocations: 27.8 kB / 431.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.972e-05/0.4057, allocations: 23.86 kB / 431.9 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.4057, allocations: 4 kB / 431.9 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.689e-05/0.4057, allocations: 4 kB / 431.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.346e-05/0.4058, allocations: 23.91 kB / 431.9 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.4059, allocations: 31.75 kB / 431.9 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.406, allocations: 68.92 kB / 432 MB, free: 5.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.406, allocations: 0 / 432 MB, free: 5.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.406, allocations: 0 / 432 MB, free: 5.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.406, allocations: 4 kB / 432 MB, free: 5.344 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.0006348/0.4067, allocations: 391 kB / 432.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.4067, allocations: 8.031 kB / 432.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.4068, allocations: 12.89 kB / 432.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.4071, allocations: 204.1 kB / 432.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.4071, allocations: 384 / 432.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.4071, allocations: 8.375 kB / 432.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.4075, allocations: 170.3 kB / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4075, allocations: 192 / 432.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4076, allocations: 3.938 kB / 432.8 MB, free: 4.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4076, allocations: 3.938 kB / 432.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.4077, allocations: 35.98 kB / 432.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.4081, allocations: 377.8 kB / 433.2 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.4084, allocations: 115.8 kB / 433.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.4085, allocations: 46.62 kB / 433.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.4086, allocations: 4 kB / 433.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.4086, allocations: 42.48 kB / 433.4 MB, free: 3.738 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.4086, allocations: 4 kB / 433.4 MB, free: 3.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004367/0.4091, allocations: 117.5 kB / 433.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.4092, allocations: 110.8 kB / 433.6 MB, free: 3.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.4093, allocations: 140.5 kB / 433.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4093, allocations: 25.7 kB / 433.8 MB, free: 3.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.837e-05/0.4094, allocations: 88.08 kB / 433.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.4094, allocations: 16.19 kB / 433.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.4095, allocations: 29.67 kB / 433.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.4096, allocations: 318.8 kB / 434.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/0.4097, allocations: 12 kB / 434.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.538e-05/0.4098, allocations: 71.7 kB / 434.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.4099, allocations: 99.53 kB / 434.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.4099, allocations: 7.938 kB / 434.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.4101, allocations: 97.48 kB / 434.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.4102, allocations: 8.281 kB / 434.5 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.4102, allocations: 4 kB / 434.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.4102, allocations: 4 kB / 434.5 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.4103, allocations: 23.92 kB / 434.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.4103, allocations: 4 kB / 434.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.991e-05/0.4103, allocations: 15.89 kB / 434.6 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.4103, allocations: 4 kB / 434.6 MB, free: 2.438 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.0001338/0.4105, allocations: 129.7 kB / 434.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4106, allocations: 77.78 kB / 434.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.4106, allocations: 20.72 kB / 434.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4106, allocations: 0 / 434.8 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.4107, allocations: 4 kB / 434.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4107, allocations: 0 / 434.8 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.4109, allocations: 189.5 kB / 435 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4109, allocations: 192 / 435 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.411, allocations: 16 kB / 435 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.411, allocations: 7.938 kB / 435 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.411, allocations: 7.984 kB / 435 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.411, allocations: 0 / 435 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.411, allocations: 7.938 kB / 435 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000414/0.4114, allocations: 304.3 kB / 435.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.4115, allocations: 93.05 kB / 435.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.4115, allocations: 7.938 kB / 435.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.551e-05/0.4116, allocations: 11.98 kB / 435.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.4117, allocations: 4 kB / 435.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4117, allocations: 4 kB / 435.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.648e-05/0.4118, allocations: 111.2 kB / 435.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4118, allocations: 0 / 435.6 MB, free: 1.352 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.4121, allocations: 12 kB / 435.6 MB, free: 1.34 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.0001223/0.4122, allocations: 95.25 kB / 435.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.4124, allocations: 67.84 kB / 435.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4124, allocations: 0 / 435.7 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.4124, allocations: 8 kB / 435.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.4129, allocations: 47.88 kB / 435.8 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.4134, allocations: 208.3 kB / 436 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.4137, allocations: 0.6963 MB / 436.7 MB, free: 164 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.801e-05/0.4138, allocations: 4.672 kB / 436.7 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.962e-05/0.4138, allocations: 11.44 kB / 436.7 MB, free: 144 kB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4138, allocations: 0 / 436.7 MB, free: 144 kB / 334.1 MB Notification: Performance of Templates: time 0.003804/0.4176, allocations: 0.7481 MB / 437.4 MB, free: 15.39 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 4.952587147243321]