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.001467/0.001467, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001548/0.001548, allocations: 209.3 kB / 24.47 MB, free: 3.898 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.546/1.546, allocations: 230.4 MB / 258.1 MB, free: 8.141 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.00196/0.00196, allocations: 71.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3394, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.003551/0.343, allocations: 1.586 MB / 433.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004977/0.3435, allocations: 135.5 kB / 433.8 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.705e-05/0.3435, allocations: 8 kB / 433.8 MB, free: 5.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.3436, allocations: 3.938 kB / 433.8 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.3437, allocations: 3.938 kB / 433.8 MB, free: 5.648 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.344, allocations: 43.83 kB / 433.8 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3442, allocations: 35.86 kB / 433.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.3443, allocations: 11.98 kB / 433.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.3443, allocations: 15.92 kB / 433.9 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.3444, allocations: 11.92 kB / 433.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3444, allocations: 4 kB / 433.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.035e-05/0.3444, allocations: 0 / 433.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.3445, allocations: 15.94 kB / 433.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.3445, allocations: 31.8 kB / 434 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.3447, allocations: 45.3 kB / 434 MB, free: 5.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3447, allocations: 4 kB / 434 MB, free: 5.434 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3447, allocations: 0 / 434 MB, free: 5.434 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3447, allocations: 0 / 434 MB, free: 5.434 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.0006218/0.3453, allocations: 363.2 kB / 434.4 MB, free: 5.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3453, allocations: 8.031 kB / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3454, allocations: 8.891 kB / 434.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.3457, allocations: 200.1 kB / 434.6 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-06/0.3457, allocations: 4.375 kB / 434.6 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.3457, allocations: 4.375 kB / 434.6 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.3461, allocations: 117.5 kB / 434.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.3461, allocations: 4.188 kB / 434.7 MB, free: 4.633 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.3461, allocations: 7.875 kB / 434.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.3461, allocations: 0 / 434.7 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.314e-05/0.3462, allocations: 23.92 kB / 434.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.3466, allocations: 257.8 kB / 435 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000244/0.3468, allocations: 146.2 kB / 435.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.971e-05/0.3469, allocations: 25.77 kB / 435.1 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3469, allocations: 3.984 kB / 435.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.347, allocations: 34.56 kB / 435.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.347, allocations: 0 / 435.2 MB, free: 4.039 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002934/0.3473, allocations: 81.56 kB / 435.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.3473, allocations: 77.11 kB / 435.3 MB, free: 3.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3475, allocations: 132.8 kB / 435.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3475, allocations: 25.7 kB / 435.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.711e-05/0.3476, allocations: 96.06 kB / 435.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.3476, allocations: 3.953 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.3476, allocations: 17.84 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3478, allocations: 322.8 kB / 435.9 MB, free: 3.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.3478, allocations: 8 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.327e-05/0.3479, allocations: 35.36 kB / 436 MB, free: 3.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.804e-05/0.348, allocations: 43.42 kB / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.348, allocations: 0 / 436 MB, free: 3.129 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001332/0.3481, allocations: 69.5 kB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3481, allocations: 8 kB / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3481, allocations: 0 / 436.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.3482, allocations: 4 kB / 436.1 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.3482, allocations: 16.11 kB / 436.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3482, allocations: 4 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.5e-05/0.3483, allocations: 3.953 kB / 436.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3483, allocations: 4 kB / 436.1 MB, free: 3.016 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.0001305/0.3484, allocations: 125.7 kB / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/0.3485, allocations: 41.7 kB / 436.3 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.3485, allocations: 16.23 kB / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3485, allocations: 0 / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3486, allocations: 4 kB / 436.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3486, allocations: 0 / 436.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.3488, allocations: 177.5 kB / 436.5 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3488, allocations: 7.938 kB / 436.5 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.3488, allocations: 7.938 kB / 436.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3488, allocations: 4 kB / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.3488, allocations: 0 / 436.5 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3489, allocations: 3.984 kB / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3489, allocations: 0 / 436.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002185/0.3491, allocations: 172.2 kB / 436.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.67e-05/0.3492, allocations: 89.09 kB / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.3492, allocations: 0 / 436.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.203e-05/0.3492, allocations: 7.984 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.3493, allocations: 0 / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3493, allocations: 0 / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3494, allocations: 103.3 kB / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3494, allocations: 0 / 436.9 MB, free: 2.164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3497, allocations: 8 kB / 436.9 MB, free: 2.156 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.0001506/0.3498, allocations: 99.23 kB / 437 MB, free: 2.047 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.35, allocations: 31.92 kB / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.35, allocations: 0 / 437 MB, free: 2.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.35, allocations: 8 kB / 437 MB, free: 2.008 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003913/0.3504, allocations: 34.3 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/0.3509, allocations: 192 kB / 437.2 MB, free: 1.758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.3513, allocations: 0.6885 MB / 437.9 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.407e-05/0.3513, allocations: 7.438 kB / 437.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3513, allocations: 0 / 437.9 MB, free: 1.035 MB / 334.1 MB Notification: Performance of Templates: time 0.002622/0.354, allocations: 0.6904 MB / 438.6 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.330047953873873]