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.001809/0.001809, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.002276/0.002276, allocations: 209.9 kB / 24.47 MB, free: 3.996 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.559/1.559, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002059/0.002059, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3785, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003662/0.3821, allocations: 1.578 MB / 433.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3833, allocations: 0.5415 MB / 434.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.3834, allocations: 0 / 434.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.621e-05/0.3835, allocations: 7.922 kB / 434.2 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.3837, allocations: 11.92 kB / 434.2 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.384, allocations: 47.83 kB / 434.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.3842, allocations: 43.84 kB / 434.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.3843, allocations: 8 kB / 434.3 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.3844, allocations: 31.92 kB / 434.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.3845, allocations: 23.78 kB / 434.3 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.3845, allocations: 4 kB / 434.4 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.3846, allocations: 8 kB / 434.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.3846, allocations: 19.86 kB / 434.4 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.3847, allocations: 15.88 kB / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.3849, allocations: 57.66 kB / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3849, allocations: 0 / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3849, allocations: 0 / 434.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3849, allocations: 0 / 434.4 MB, free: 4.984 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.0006233/0.3855, allocations: 375.2 kB / 434.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.3855, allocations: 8.031 kB / 434.8 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.3857, allocations: 16.89 kB / 434.8 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.3861, allocations: 196.2 kB / 435 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.3861, allocations: 384 / 435 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3861, allocations: 384 / 435 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.3864, allocations: 113.3 kB / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3864, allocations: 0 / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-06/0.3864, allocations: 0 / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3864, allocations: 0 / 435.1 MB, free: 4.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.3865, allocations: 23.92 kB / 435.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.3869, allocations: 265.7 kB / 435.4 MB, free: 3.852 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.387, allocations: 41.14 kB / 435.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.387, allocations: 29.7 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3871, allocations: 0 / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3871, allocations: 34.56 kB / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3871, allocations: 0 / 435.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002677/0.3874, allocations: 69.56 kB / 435.6 MB, free: 3.641 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/0.3874, allocations: 81.11 kB / 435.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.3876, allocations: 136.7 kB / 435.8 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.3876, allocations: 25.7 kB / 435.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3877, allocations: 96.38 kB / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3877, allocations: 0 / 435.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.3877, allocations: 21.67 kB / 436 MB, free: 3.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3879, allocations: 310.8 kB / 436.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.3879, allocations: 15.92 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.388, allocations: 17.72 kB / 436.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.9e-05/0.3881, allocations: 37.7 kB / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3881, allocations: 0 / 436.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001293/0.3882, allocations: 61.61 kB / 436.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3882, allocations: 4 kB / 436.4 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3882, allocations: 4 kB / 436.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3882, allocations: 0 / 436.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.3883, allocations: 7.938 kB / 436.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3883, allocations: 4.062 kB / 436.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.771e-05/0.3884, allocations: 7.984 kB / 436.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3884, allocations: 0 / 436.4 MB, free: 2.754 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.0001044/0.3885, allocations: 117.8 kB / 436.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.3885, allocations: 45.58 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.3886, allocations: 15.83 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3886, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3886, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3886, allocations: 0 / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.3888, allocations: 173.6 kB / 436.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3888, allocations: 4 kB / 436.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.3888, allocations: 7.984 kB / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3888, allocations: 0 / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.3889, allocations: 0 / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3889, allocations: 0 / 436.8 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3889, allocations: 7.938 kB / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.3891, allocations: 160.2 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.3891, allocations: 93.05 kB / 437 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3892, allocations: 4 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.3892, allocations: 3.984 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.3893, allocations: 0 / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.952e-06/0.3893, allocations: 4 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.471e-05/0.3894, allocations: 110.3 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3894, allocations: 0 / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002131/0.3896, allocations: 8.031 kB / 437.1 MB, free: 1.914 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.000128/0.3897, allocations: 95.25 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.3899, allocations: 23.98 kB / 437.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3899, allocations: 3.938 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.3899, allocations: 8 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3902, allocations: 22.61 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.3906, allocations: 193.4 kB / 437.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.391, allocations: 0.6885 MB / 438.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.391, allocations: 7.438 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.391, allocations: 0 / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of Templates: time 0.002571/0.3936, allocations: 0.7215 MB / 438.9 MB, free: 88 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.428170052822679]