Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.008835/0.008835, allocations: 109.4 kB / 21.98 MB, free: 5.184 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.001803/0.001803, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.529/1.529, 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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001987/0.001987, allocations: 71.88 kB / 379.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2424, allocations: 53.36 MB / 433.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004257/0.2467, allocations: 1.955 MB / 435.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.2494, allocations: 1.344 MB / 436.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.2496, allocations: 3.938 kB / 436.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.25, allocations: 71.66 kB / 436.5 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.2504, allocations: 135.4 kB / 436.7 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007378/0.2511, allocations: 231.3 kB / 436.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.2514, allocations: 191.5 kB / 437.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2515, allocations: 21.8 kB / 437.1 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.2517, allocations: 95.5 kB / 437.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.2518, allocations: 87.66 kB / 437.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.2519, allocations: 8 kB / 437.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.252, allocations: 79.88 kB / 437.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.472e-05/0.2521, allocations: 55.78 kB / 437.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.2522, allocations: 87.41 kB / 437.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.2527, allocations: 252.2 kB / 437.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2527, allocations: 0 / 437.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2527, allocations: 3.938 kB / 437.8 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.2527, allocations: 0 / 437.8 MB, free: 2.379 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.000797/0.2535, allocations: 494.4 kB / 438.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2535, allocations: 11.97 kB / 438.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.903e-05/0.2536, allocations: 24.8 kB / 438.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.254, allocations: 246.5 kB / 438.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.254, allocations: 8.375 kB / 438.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2541, allocations: 8.125 kB / 438.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003909/0.2544, allocations: 179.4 kB / 438.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.2545, allocations: 0 / 438.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.2545, allocations: 4 kB / 438.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2545, allocations: 0 / 438.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.2546, allocations: 43.91 kB / 438.8 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.2552, allocations: 382.2 kB / 439.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.2555, allocations: 138.5 kB / 439.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2556, allocations: 59.41 kB / 439.3 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.2556, allocations: 3.938 kB / 439.3 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.2558, allocations: 83.38 kB / 439.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.2558, allocations: 0 / 439.4 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004398/0.2562, allocations: 173.6 kB / 439.6 MB, free: 364 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.2564, allocations: 183.9 kB / 439.8 MB, free: 136 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.2568, allocations: 348.5 kB / 440.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.2568, allocations: 37.64 kB / 440.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.2569, allocations: 128.4 kB / 440.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.2569, allocations: 19.89 kB / 440.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.257, allocations: 37.66 kB / 440.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.2572, allocations: 338.7 kB / 440.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.2572, allocations: 23.98 kB / 440.7 MB, free: 15.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.2574, allocations: 104.6 kB / 440.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.2576, allocations: 105.9 kB / 440.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2576, allocations: 0 / 440.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002709/0.2578, allocations: 141.4 kB / 441 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2578, allocations: 4 kB / 441 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.2579, allocations: 7.938 kB / 441 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2579, allocations: 0 / 441 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.258, allocations: 28.17 kB / 441 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.258, allocations: 7.922 kB / 441.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-05/0.2581, allocations: 15.88 kB / 441.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.2581, allocations: 11.98 kB / 441.1 MB, free: 14.7 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,table.y,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.0001567/0.2583, allocations: 150.7 kB / 441.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.2584, allocations: 81.44 kB / 441.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003186/0.2587, allocations: 127.4 kB / 441.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2587, allocations: 4 kB / 441.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2587, allocations: 0 / 441.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.2587, allocations: 3.938 kB / 441.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/0.2589, allocations: 220.7 kB / 441.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.259, allocations: 192 / 441.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.259, allocations: 16 kB / 441.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.259, allocations: 4 kB / 441.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.259, allocations: 3.984 kB / 441.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.259, allocations: 4 kB / 441.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2591, allocations: 0 / 441.7 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.2594, allocations: 187.3 kB / 441.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2595, allocations: 51.72 kB / 441.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.2595, allocations: 4 kB / 441.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.2596, allocations: 4 kB / 441.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.2596, allocations: 11.98 kB / 441.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.2596, allocations: 7.938 kB / 441.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.2599, allocations: 259 kB / 442.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2599, allocations: 0 / 442.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.2602, allocations: 35.94 kB / 442.2 MB, free: 13.46 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,table.y,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.001554/0.2618, allocations: 422.3 kB / 442.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002694/0.262, allocations: 83.89 kB / 442.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.262, allocations: 0 / 442.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.2621, allocations: 31.92 kB / 442.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.2626, allocations: 84.73 kB / 442.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007207/0.2633, allocations: 433 kB / 443.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.2637, allocations: 0.7437 MB / 444 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.2637, allocations: 19.44 kB / 444 MB, free: 11.75 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2637, allocations: 0 / 444 MB, free: 11.75 MB / 350.1 MB Notification: Performance of Templates: time 0.005678/0.2694, allocations: 3.171 MB / 447.2 MB, free: 8.598 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.665761903161183]