Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001524/0.001524, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001693/0.001693, allocations: 209.9 kB / 24.47 MB, free: 3.996 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.466/1.466, 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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [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.001955/0.001955, allocations: 75.81 kB / 378.7 MB, free: 2.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3106, allocations: 53.31 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.00398/0.3146, allocations: 1.946 MB / 434 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3171, allocations: 1.259 MB / 435.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.3173, allocations: 4 kB / 435.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006895/0.318, allocations: 151.5 kB / 435.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004399/0.3184, allocations: 167.3 kB / 435.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005796/0.319, allocations: 171.4 kB / 435.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000302/0.3193, allocations: 199.4 kB / 435.9 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3194, allocations: 21.67 kB / 436 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3196, allocations: 87.62 kB / 436 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.3197, allocations: 75.62 kB / 436.1 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.3197, allocations: 15.98 kB / 436.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.3199, allocations: 59.91 kB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.32, allocations: 43.84 kB / 436.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001071/0.3201, allocations: 83.41 kB / 436.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.3205, allocations: 221.1 kB / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3205, allocations: 0 / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.3205, allocations: 4 kB / 436.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.3205, allocations: 0 / 436.5 MB, free: 2.863 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001005/0.3215, allocations: 0.5309 MB / 437.1 MB, free: 2.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.3216, allocations: 8.031 kB / 437.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.3216, allocations: 24.8 kB / 437.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/0.3221, allocations: 282.9 kB / 437.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.3221, allocations: 8.375 kB / 437.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.3221, allocations: 12.06 kB / 437.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004114/0.3225, allocations: 176.6 kB / 437.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3225, allocations: 0 / 437.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3226, allocations: 0 / 437.6 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3226, allocations: 7.984 kB / 437.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.3227, allocations: 39.92 kB / 437.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.3233, allocations: 379.2 kB / 438 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3236, allocations: 138.5 kB / 438.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/0.3237, allocations: 47.42 kB / 438.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.3237, allocations: 0 / 438.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.3239, allocations: 87.31 kB / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.3239, allocations: 0 / 438.2 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004219/0.3243, allocations: 153.5 kB / 438.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.3244, allocations: 162.2 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.3248, allocations: 282.6 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.3248, allocations: 26.08 kB / 438.9 MB, free: 248 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3249, allocations: 128.4 kB / 439 MB, free: 112 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3249, allocations: 19.89 kB / 439 MB, free: 92 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.325, allocations: 37.64 kB / 439 MB, free: 48 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.3252, allocations: 330.8 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.3253, allocations: 23.98 kB / 439.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.3254, allocations: 82.59 kB / 439.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.3255, allocations: 97.91 kB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3255, allocations: 0 / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002427/0.3258, allocations: 133.4 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3258, allocations: 4 kB / 439.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3258, allocations: 4 kB / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3258, allocations: 0 / 439.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.794e-05/0.3259, allocations: 19.92 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3259, allocations: 8.188 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.326, allocations: 11.88 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.326, allocations: 11.98 kB / 439.8 MB, free: 15.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001452/0.3262, allocations: 142.9 kB / 439.9 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3263, allocations: 77.5 kB / 440 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.3265, allocations: 115.4 kB / 440.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3265, allocations: 4.094 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3265, allocations: 4 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.3265, allocations: 7.922 kB / 440.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.3268, allocations: 237.6 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3268, allocations: 0 / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.3268, allocations: 7.938 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3268, allocations: 7.938 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.3268, allocations: 0 / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3268, allocations: 4 kB / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3268, allocations: 0 / 440.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.3271, allocations: 183.3 kB / 440.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.3273, allocations: 112.9 kB / 440.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.3273, allocations: 4 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/0.3273, allocations: 4 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.3274, allocations: 7.984 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3274, allocations: 11.94 kB / 440.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000227/0.3276, allocations: 206 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3276, allocations: 0 / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002701/0.3279, allocations: 32 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001556/0.3295, allocations: 427.4 kB / 441.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.3297, allocations: 80.03 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3297, allocations: 0 / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.3298, allocations: 20 kB / 441.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.3303, allocations: 75.44 kB / 441.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007242/0.331, allocations: 379.9 kB / 441.9 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.3314, allocations: 0.7359 MB / 442.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.3315, allocations: 31.36 kB / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3315, allocations: 0 / 442.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Templates: time 0.00549/0.337, allocations: 2.866 MB / 445.5 MB, free: 9.539 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.484276674687862]