Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.007793/0.007793, allocations: 103 kB / 21.97 MB, free: 5.207 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.001637/0.001637, allocations: 224.6 kB / 25.3 MB, free: 3.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.731/1.731, allocations: 230.6 MB / 259 MB, free: 8.031 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-beta.om/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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 53.37 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003364/0.3681, allocations: 1.59 MB / 434.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3693, allocations: 0.5337 MB / 435.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3694, allocations: 7.938 kB / 435.3 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.27e-05/0.3695, allocations: 3.938 kB / 435.3 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.3696, allocations: 7.938 kB / 435.3 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.37, allocations: 55.81 kB / 435.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.3701, allocations: 43.78 kB / 435.4 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3702, allocations: 11.94 kB / 435.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.3703, allocations: 27.92 kB / 435.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.3704, allocations: 19.86 kB / 435.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.3704, allocations: 4 kB / 435.5 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.199e-05/0.3705, allocations: 4 kB / 435.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.3705, allocations: 19.91 kB / 435.5 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.3706, allocations: 23.81 kB / 435.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.3708, allocations: 56.95 kB / 435.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3708, allocations: 0 / 435.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.3708, allocations: 0 / 435.6 MB, free: 4.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3708, allocations: 0 / 435.6 MB, free: 4.562 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000638/0.3714, allocations: 302 kB / 435.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.3715, allocations: 8.031 kB / 435.9 MB, free: 4.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3716, allocations: 12.89 kB / 435.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.3719, allocations: 138.4 kB / 436 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3719, allocations: 4.375 kB / 436 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.3719, allocations: 384 / 436 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.3722, allocations: 97.36 kB / 436.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3722, allocations: 0 / 436.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3722, allocations: 4 kB / 436.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3722, allocations: 0 / 436.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.3723, allocations: 19.92 kB / 436.2 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005087/0.3728, allocations: 240.8 kB / 436.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3729, allocations: 45.14 kB / 436.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.375e-05/0.373, allocations: 17.78 kB / 436.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/0.373, allocations: 4 kB / 436.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/0.3731, allocations: 38.55 kB / 436.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3731, allocations: 0 / 436.5 MB, free: 3.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002933/0.3734, allocations: 65.56 kB / 436.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/0.3735, allocations: 85.11 kB / 436.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.3736, allocations: 141.2 kB / 436.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3736, allocations: 29.64 kB / 436.8 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.3737, allocations: 92.39 kB / 436.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.3737, allocations: 0 / 436.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.3738, allocations: 21.67 kB / 436.9 MB, free: 3.023 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.3739, allocations: 314.8 kB / 437.2 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.244e-05/0.374, allocations: 11.94 kB / 437.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.374, allocations: 25.7 kB / 437.3 MB, free: 2.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.473e-05/0.3741, allocations: 33.7 kB / 437.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3741, allocations: 4 kB / 437.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001217/0.3742, allocations: 53.62 kB / 437.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.3743, allocations: 4 kB / 437.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3743, allocations: 3.938 kB / 437.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.3743, allocations: 0 / 437.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.775e-05/0.3744, allocations: 11.98 kB / 437.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3744, allocations: 4.062 kB / 437.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.358e-05/0.3744, allocations: 0 / 437.4 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.3744, allocations: 4 kB / 437.4 MB, free: 2.535 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001537/0.3746, allocations: 121.8 kB / 437.5 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.3746, allocations: 37.59 kB / 437.5 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.3747, allocations: 15.77 kB / 437.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3747, allocations: 0 / 437.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3747, allocations: 4 kB / 437.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.3747, allocations: 8.016 kB / 437.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3749, allocations: 136.7 kB / 437.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3749, allocations: 0 / 437.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.3749, allocations: 11.98 kB / 437.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3749, allocations: 0 / 437.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.375, allocations: 4 kB / 437.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.375, allocations: 0 / 437.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.375, allocations: 0 / 437.7 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.3753, allocations: 168.2 kB / 437.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.3753, allocations: 11.95 kB / 437.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3753, allocations: 7.984 kB / 437.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.3754, allocations: 0 / 437.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.3754, allocations: 0 / 437.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.3754, allocations: 4 kB / 437.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.607e-05/0.3755, allocations: 111.2 kB / 438 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3755, allocations: 0 / 438 MB, free: 1.828 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.3758, allocations: 8.031 kB / 438 MB, free: 1.82 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001487/0.3759, allocations: 99.19 kB / 438.1 MB, free: 1.715 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.3761, allocations: 19.98 kB / 438.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3761, allocations: 3.938 kB / 438.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.3761, allocations: 15.98 kB / 438.2 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.0003364/0.3764, allocations: 12.16 kB / 438.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004224/0.3769, allocations: 185.5 kB / 438.3 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.3773, allocations: 0.6885 MB / 439 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.3774, allocations: 7.438 kB / 439 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3774, allocations: 0 / 439 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of Templates: time 0.002602/0.38, allocations: 0.7242 MB / 439.8 MB, free: 4 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.677852814085782]