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.Sample2.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.005651/0.005651, allocations: 109.8 kB / 21.98 MB, free: 5.211 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.001497/0.001497, allocations: 212.2 kB / 25.29 MB, free: 3.199 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.548/1.548, allocations: 230.6 MB / 259 MB, free: 8.027 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.Sample2,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.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,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.Sample2") [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.002171/0.002171, allocations: 71.88 kB / 379.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3393, allocations: 53.35 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003057/0.3424, allocations: 1.582 MB / 434.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000415/0.3428, allocations: 143.4 kB / 434.9 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.719e-05/0.3429, allocations: 7.938 kB / 434.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.541e-05/0.3429, allocations: 7.938 kB / 434.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.3431, allocations: 7.922 kB / 434.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.3433, allocations: 31.92 kB / 434.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.3434, allocations: 39.84 kB / 435 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3435, allocations: 11.98 kB / 435 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.3436, allocations: 15.94 kB / 435 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.3436, allocations: 11.92 kB / 435 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3436, allocations: 4 kB / 435 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.3437, allocations: 4 kB / 435 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.3437, allocations: 7.938 kB / 435 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.3438, allocations: 31.8 kB / 435.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.3439, allocations: 47.47 kB / 435.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3439, allocations: 0 / 435.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3439, allocations: 0 / 435.1 MB, free: 5.008 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.3439, allocations: 3.938 kB / 435.1 MB, free: 5.004 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.0004674/0.3444, allocations: 292.7 kB / 435.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.3444, allocations: 8.031 kB / 435.4 MB, free: 4.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/0.3445, allocations: 12.83 kB / 435.4 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.3447, allocations: 146.3 kB / 435.6 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.3447, allocations: 4.375 kB / 435.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.3447, allocations: 4.375 kB / 435.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.3451, allocations: 113.5 kB / 435.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3451, allocations: 192 / 435.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3451, allocations: 11.94 kB / 435.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3451, allocations: 0 / 435.7 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.3452, allocations: 19.98 kB / 435.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.3455, allocations: 220.9 kB / 435.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3457, allocations: 65.08 kB / 436 MB, free: 3.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.006e-05/0.3457, allocations: 29.77 kB / 436 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.3458, allocations: 0 / 436 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3458, allocations: 34.5 kB / 436.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.3458, allocations: 4 kB / 436.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002641/0.3461, allocations: 77.61 kB / 436.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.3461, allocations: 89.05 kB / 436.2 MB, free: 3.719 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.3463, allocations: 136.8 kB / 436.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3463, allocations: 25.7 kB / 436.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.657e-05/0.3463, allocations: 88.14 kB / 436.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.3463, allocations: 7.953 kB / 436.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.3464, allocations: 17.7 kB / 436.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3465, allocations: 319 kB / 436.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.169e-05/0.3466, allocations: 11.98 kB / 436.8 MB, free: 3.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-05/0.3466, allocations: 27.44 kB / 436.8 MB, free: 3.051 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.875e-05/0.3467, allocations: 51.36 kB / 436.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3467, allocations: 0 / 436.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/0.3468, allocations: 65.55 kB / 437 MB, free: 2.918 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3469, allocations: 8 kB / 437 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3469, allocations: 4 kB / 437 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3469, allocations: 0 / 437 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/0.3469, allocations: 12.06 kB / 437 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.3469, allocations: 11.92 kB / 437 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.48e-05/0.347, allocations: 8.234 kB / 437 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.347, allocations: 4 kB / 437 MB, free: 2.871 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 9.037e-05/0.3471, allocations: 117.8 kB / 437.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.3472, allocations: 49.67 kB / 437.2 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.3472, allocations: 8.344 kB / 437.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3472, allocations: 4 kB / 437.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3472, allocations: 0 / 437.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3472, allocations: 4 kB / 437.2 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.3474, allocations: 144.6 kB / 437.3 MB, free: 2.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3474, allocations: 7.938 kB / 437.3 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.3474, allocations: 7.984 kB / 437.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3474, allocations: 4 kB / 437.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.3474, allocations: 0 / 437.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3474, allocations: 0 / 437.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3474, allocations: 0 / 437.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.3476, allocations: 168.3 kB / 437.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.3477, allocations: 15.94 kB / 437.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.3477, allocations: 0 / 437.5 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.3477, allocations: 4 kB / 437.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.491e-05/0.3478, allocations: 0 / 437.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.3478, allocations: 11.94 kB / 437.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.802e-05/0.3478, allocations: 99.25 kB / 437.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3478, allocations: 0 / 437.6 MB, free: 2.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.3481, allocations: 12 kB / 437.7 MB, free: 2.141 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 9.837e-05/0.3482, allocations: 99.19 kB / 437.8 MB, free: 2.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.3483, allocations: 27.92 kB / 437.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3483, allocations: 3.938 kB / 437.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.44e-05/0.3483, allocations: 11.98 kB / 437.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3487, allocations: 18.97 kB / 437.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.349, allocations: 188.5 kB / 438 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.3494, allocations: 0.6908 MB / 438.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.3494, allocations: 11.38 kB / 438.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3494, allocations: 0 / 438.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of Templates: time 0.002282/0.3517, allocations: 0.6905 MB / 439.4 MB, free: 352 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.250101199140772]