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.Sample1.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.001718/0.001718, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002388/0.002388, allocations: 203 kB / 24.46 MB, free: 4.023 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.652/1.652, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [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.002221/0.002221, allocations: 67.83 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3711, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003129/0.3743, allocations: 1.606 MB / 433.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3753, allocations: 0.5375 MB / 434.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.3754, allocations: 4 kB / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.108e-05/0.3754, allocations: 7.938 kB / 434.2 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001443/0.3756, allocations: 15.86 kB / 434.2 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.3759, allocations: 51.83 kB / 434.3 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.376, allocations: 43.91 kB / 434.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3761, allocations: 8 kB / 434.3 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.3763, allocations: 31.84 kB / 434.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.3763, allocations: 23.86 kB / 434.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3764, allocations: 0 / 434.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.101e-05/0.3764, allocations: 8 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.456e-05/0.3765, allocations: 15.92 kB / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.3765, allocations: 27.81 kB / 434.4 MB, free: 5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3767, allocations: 69.58 kB / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3767, allocations: 0 / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3767, allocations: 0 / 434.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.3767, allocations: 0 / 434.5 MB, free: 4.934 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005581/0.3772, allocations: 375.2 kB / 434.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.3773, allocations: 8.031 kB / 434.9 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/0.3775, allocations: 28.77 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3777, allocations: 204.2 kB / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3777, allocations: 384 / 435.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.3778, allocations: 4.375 kB / 435.1 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.378, allocations: 121.3 kB / 435.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.378, allocations: 0 / 435.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3781, allocations: 4 kB / 435.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3781, allocations: 4 kB / 435.2 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.3782, allocations: 19.92 kB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.3785, allocations: 265.8 kB / 435.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.3787, allocations: 142.2 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/0.3788, allocations: 21.78 kB / 435.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.3788, allocations: 0 / 435.7 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.3789, allocations: 42.55 kB / 435.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.3789, allocations: 3.938 kB / 435.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002726/0.3791, allocations: 81.56 kB / 435.8 MB, free: 3.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.3792, allocations: 77.11 kB / 435.9 MB, free: 3.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.3793, allocations: 145.4 kB / 436 MB, free: 3.176 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.3793, allocations: 33.64 kB / 436 MB, free: 3.137 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.3794, allocations: 84.14 kB / 436.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3794, allocations: 11.89 kB / 436.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.3795, allocations: 21.84 kB / 436.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3796, allocations: 314.8 kB / 436.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.3796, allocations: 12 kB / 436.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.3797, allocations: 27.42 kB / 436.5 MB, free: 2.645 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3798, allocations: 59.3 kB / 436.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3798, allocations: 0 / 436.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001364/0.3799, allocations: 69.56 kB / 436.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3799, allocations: 4 kB / 436.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.38, allocations: 4 kB / 436.6 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.38, allocations: 8.062 kB / 436.6 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.38, allocations: 11.98 kB / 436.7 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.38, allocations: 3.938 kB / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.124e-05/0.3801, allocations: 4 kB / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.3801, allocations: 0 / 436.7 MB, free: 2.465 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001093/0.3802, allocations: 121.8 kB / 436.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.3803, allocations: 53.91 kB / 436.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.3803, allocations: 12.23 kB / 436.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3803, allocations: 4 kB / 436.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3803, allocations: 4 kB / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3803, allocations: 0 / 436.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.3805, allocations: 173.6 kB / 437 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3805, allocations: 4 kB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.343e-05/0.3806, allocations: 7.984 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3806, allocations: 4 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3806, allocations: 3.938 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3806, allocations: 0 / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3806, allocations: 0 / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.3808, allocations: 176.3 kB / 437.2 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.3809, allocations: 93.05 kB / 437.3 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.3809, allocations: 7.938 kB / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/0.3809, allocations: 0 / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.381, allocations: 4 kB / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.381, allocations: 0 / 437.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.788e-05/0.3811, allocations: 107.2 kB / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3811, allocations: 4 kB / 437.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002232/0.3813, allocations: 8 kB / 437.4 MB, free: 1.586 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 (4): * Single equations (assignments): 4 * 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.0001203/0.3814, allocations: 99.19 kB / 437.5 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.3816, allocations: 31.97 kB / 437.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3816, allocations: 0 / 437.6 MB, free: 1.445 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.951e-05/0.3816, allocations: 11.94 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3819, allocations: 29.84 kB / 437.6 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003629/0.3823, allocations: 179.4 kB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.3826, allocations: 0.6924 MB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.077e-05/0.3827, allocations: 3.984 kB / 438.5 MB, free: 496 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3827, allocations: 11.44 kB / 438.5 MB, free: 484 kB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3827, allocations: 4 kB / 438.5 MB, free: 480 kB / 334.1 MB Notification: Performance of Templates: time 0.003091/0.3858, allocations: 0.5421 MB / 439 MB, free: 15.93 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.969280063640326]