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.00169/0.00169, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.003178/0.003178, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.678/1.678, allocations: 230.6 MB / 258.2 MB, free: 8.035 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.002208/0.002208, allocations: 68.75 kB / 379 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3769/0.3791, allocations: 53.36 MB / 432.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.004158/0.3833, allocations: 1.589 MB / 434 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3847, allocations: 0.5376 MB / 434.5 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3848, allocations: 7.938 kB / 434.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.495e-05/0.3849, allocations: 7.922 kB / 434.6 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.3851, allocations: 7.938 kB / 434.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.3855, allocations: 51.83 kB / 434.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3857, allocations: 43.84 kB / 434.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3858, allocations: 7.984 kB / 434.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.386, allocations: 31.86 kB / 434.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7e-05/0.386, allocations: 15.86 kB / 434.7 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.386, allocations: 4 kB / 434.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.679e-05/0.3861, allocations: 8 kB / 434.7 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.3862, allocations: 19.91 kB / 434.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.755e-05/0.3862, allocations: 15.88 kB / 434.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.3864, allocations: 62.36 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3864, allocations: 0 / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3864, allocations: 0 / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.3864, allocations: 0 / 434.8 MB, free: 4.586 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.0006054/0.387, allocations: 298 kB / 435.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3871, allocations: 8.031 kB / 435.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.3873, allocations: 16.88 kB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.3876, allocations: 142.4 kB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3876, allocations: 8.312 kB / 435.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.3876, allocations: 4.375 kB / 435.3 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.3879, allocations: 85.42 kB / 435.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3879, allocations: 0 / 435.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3879, allocations: 4 kB / 435.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3879, allocations: 11.92 kB / 435.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.388, allocations: 19.98 kB / 435.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.3884, allocations: 236.8 kB / 435.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.3886, allocations: 41.16 kB / 435.7 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.3886, allocations: 29.7 kB / 435.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.3886, allocations: 4 kB / 435.7 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.3887, allocations: 30.56 kB / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3887, allocations: 0 / 435.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002871/0.389, allocations: 69.56 kB / 435.8 MB, free: 3.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.3891, allocations: 85.36 kB / 435.9 MB, free: 3.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3892, allocations: 144.7 kB / 436 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.3892, allocations: 25.7 kB / 436.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.597e-05/0.3893, allocations: 88.14 kB / 436.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.596e-05/0.3893, allocations: 0 / 436.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.3894, allocations: 21.67 kB / 436.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.3895, allocations: 314.8 kB / 436.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.544e-05/0.3896, allocations: 12 kB / 436.5 MB, free: 2.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.404e-05/0.3896, allocations: 21.7 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3897, allocations: 29.64 kB / 436.5 MB, free: 2.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3897, allocations: 4 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001193/0.3899, allocations: 57.69 kB / 436.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3899, allocations: 4 kB / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3899, allocations: 0 / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3899, allocations: 0 / 436.6 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.943e-05/0.39, allocations: 11.98 kB / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.39, allocations: 0 / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.284e-05/0.39, allocations: 0 / 436.6 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.39, allocations: 4 kB / 436.6 MB, free: 2.562 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.0001019/0.3901, allocations: 121.8 kB / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.3903, allocations: 41.66 kB / 436.8 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.3903, allocations: 15.77 kB / 436.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3903, allocations: 0 / 436.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.3903, allocations: 4 kB / 436.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3903, allocations: 3.938 kB / 436.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3905, allocations: 144.7 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3905, allocations: 0 / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.3906, allocations: 11.98 kB / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3906, allocations: 0 / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.3906, allocations: 0 / 436.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3906, allocations: 4.031 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3906, allocations: 3.938 kB / 437 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.3908, allocations: 168.2 kB / 437.1 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.3908, allocations: 7.953 kB / 437.1 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3909, allocations: 4 kB / 437.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.3909, allocations: 8.016 kB / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.391, allocations: 0 / 437.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.391, allocations: 8 kB / 437.1 MB, free: 1.949 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.484e-05/0.3911, allocations: 107.2 kB / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3911, allocations: 0 / 437.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000219/0.3913, allocations: 8 kB / 437.3 MB, free: 1.836 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.000125/0.3914, allocations: 99.19 kB / 437.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001645/0.3916, allocations: 27.92 kB / 437.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3916, allocations: 0 / 437.4 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.3916, allocations: 11.98 kB / 437.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.392, allocations: 15.91 kB / 437.4 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004244/0.3924, allocations: 155.8 kB / 437.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.3928, allocations: 0.6887 MB / 438.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.777e-05/0.3929, allocations: 8 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.3929, allocations: 7.438 kB / 438.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3929, allocations: 0 / 438.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of Templates: time 0.003474/0.3964, allocations: 0.4906 MB / 438.8 MB, free: 284 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins/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: 5.04938876722008]