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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001862/0.001862, allocations: 113.5 kB / 18.79 MB, free: 3.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002413/0.002413, allocations: 215.1 kB / 19.8 MB, free: 2.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.633/1.633, allocations: 230.4 MB / 251.1 MB, free: 8.426 MB / 206.1 MB 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.002171/0.002171, allocations: 71.77 kB / 369 MB, free: 6.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3398, allocations: 53.31 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.003233/0.343, allocations: 1.582 MB / 423.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.3441, allocations: 0.5415 MB / 424.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.496e-05/0.3442, allocations: 0 / 424.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.08e-05/0.3442, allocations: 3.938 kB / 424.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.3444, allocations: 15.86 kB / 424.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3447, allocations: 51.83 kB / 424.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3448, allocations: 43.84 kB / 424.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3449, allocations: 15.98 kB / 424.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.3451, allocations: 31.86 kB / 424.6 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.3451, allocations: 23.86 kB / 424.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.3452, allocations: 7.938 kB / 424.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.123e-05/0.3452, allocations: 4 kB / 424.6 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.3453, allocations: 19.91 kB / 424.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.754e-05/0.3453, allocations: 27.81 kB / 424.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3455, allocations: 55.31 kB / 424.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3455, allocations: 0 / 424.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3455, allocations: 0 / 424.7 MB, free: 5.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3455, allocations: 7.938 kB / 424.7 MB, free: 5.398 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.0005578/0.3461, allocations: 382 kB / 425.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3461, allocations: 12.03 kB / 425.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.3463, allocations: 24.81 kB / 425.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3466, allocations: 192.3 kB / 425.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3466, allocations: 4.375 kB / 425.3 MB, free: 4.715 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3466, allocations: 4.375 kB / 425.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003181/0.347, allocations: 121.3 kB / 425.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.347, allocations: 0 / 425.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.347, allocations: 3.938 kB / 425.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.347, allocations: 0 / 425.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.3471, allocations: 23.98 kB / 425.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.3475, allocations: 265.7 kB / 425.7 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.3477, allocations: 142.2 kB / 425.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.595e-05/0.3478, allocations: 33.78 kB / 425.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3478, allocations: 0 / 425.9 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3478, allocations: 34.55 kB / 425.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.3478, allocations: 0 / 425.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000268/0.3481, allocations: 81.56 kB / 426 MB, free: 3.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.3482, allocations: 85.17 kB / 426.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.3483, allocations: 142.1 kB / 426.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3483, allocations: 25.7 kB / 426.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.3484, allocations: 92.12 kB / 426.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.3484, allocations: 3.953 kB / 426.3 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.3485, allocations: 17.72 kB / 426.4 MB, free: 3.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3486, allocations: 326.8 kB / 426.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.3487, allocations: 4 kB / 426.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.3487, allocations: 43.42 kB / 426.7 MB, free: 3.098 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.3488, allocations: 47.3 kB / 426.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3488, allocations: 7.938 kB / 426.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001455/0.349, allocations: 73.56 kB / 426.8 MB, free: 2.953 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.349, allocations: 8 kB / 426.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.349, allocations: 0 / 426.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.349, allocations: 0 / 426.9 MB, free: 2.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.55e-05/0.3491, allocations: 15.92 kB / 426.9 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3491, allocations: 4 kB / 426.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.664e-05/0.3492, allocations: 0 / 426.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3492, allocations: 4.125 kB / 426.9 MB, free: 2.922 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.0001046/0.3493, allocations: 121.8 kB / 427 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.3494, allocations: 49.64 kB / 427 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.3494, allocations: 16.56 kB / 427.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3494, allocations: 0 / 427.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3494, allocations: 0 / 427.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3494, allocations: 3.984 kB / 427.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.3496, allocations: 173.6 kB / 427.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3496, allocations: 0 / 427.2 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/0.3497, allocations: 15.92 kB / 427.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3497, allocations: 4 kB / 427.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.273e-06/0.3497, allocations: 0 / 427.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.3497, allocations: 4 kB / 427.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3497, allocations: 0 / 427.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.3499, allocations: 168.3 kB / 427.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.508e-05/0.35, allocations: 93.05 kB / 427.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.35, allocations: 4 kB / 427.5 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.35, allocations: 4 kB / 427.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.3501, allocations: 0 / 427.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3501, allocations: 0 / 427.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.901e-05/0.3502, allocations: 113.8 kB / 427.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3502, allocations: 0 / 427.6 MB, free: 2.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000225/0.3504, allocations: 11.94 kB / 427.6 MB, free: 2.043 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.0001285/0.3505, allocations: 95.25 kB / 427.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.3507, allocations: 43.84 kB / 427.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3507, allocations: 0 / 427.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.3507, allocations: 4 kB / 427.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.3511, allocations: 27.95 kB / 427.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.3515, allocations: 163.7 kB / 428 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.3518, allocations: 0.6963 MB / 428.7 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.958e-05/0.3519, allocations: 11.92 kB / 428.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.3519, allocations: 19.38 kB / 428.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3519, allocations: 0 / 428.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of Templates: time 0.003524/0.3554, allocations: 0.5358 MB / 429.2 MB, free: 408 kB / 334.1 MB 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches