Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 51.92 kB / 379 MB, free: 2.539 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2478, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003594/0.2514, allocations: 1.907 MB / 434.2 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.2536, allocations: 1.235 MB / 435.5 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.2537, allocations: 7.938 kB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.254, allocations: 71.64 kB / 435.5 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.2544, allocations: 139.4 kB / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.255, allocations: 234.9 kB / 435.9 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.2553, allocations: 195.4 kB / 436.1 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2554, allocations: 25.73 kB / 436.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.2555, allocations: 79.69 kB / 436.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.2557, allocations: 91.61 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2557, allocations: 12 kB / 436.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.2559, allocations: 79.88 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/0.2559, allocations: 47.84 kB / 436.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.783e-05/0.256, allocations: 63.53 kB / 436.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.2564, allocations: 260.5 kB / 436.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2564, allocations: 0 / 436.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2564, allocations: 0 / 436.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2564, allocations: 4 kB / 436.7 MB, free: 2.258 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.0007401/0.2571, allocations: 486.5 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2572, allocations: 12.03 kB / 437.2 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.2572, allocations: 28.8 kB / 437.3 MB, free: 1.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.2577, allocations: 250.5 kB / 437.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2577, allocations: 4.375 kB / 437.5 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.2577, allocations: 12.12 kB / 437.5 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.2581, allocations: 197.3 kB / 437.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2581, allocations: 4 kB / 437.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2581, allocations: 0 / 437.7 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.2581, allocations: 7.938 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.2583, allocations: 39.92 kB / 437.8 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.2588, allocations: 338.8 kB / 438.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002814/0.2591, allocations: 146.5 kB / 438.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2592, allocations: 59.36 kB / 438.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2592, allocations: 4 kB / 438.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.2594, allocations: 79.38 kB / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.2594, allocations: 0 / 438.4 MB, free: 444 kB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004196/0.2598, allocations: 173.4 kB / 438.6 MB, free: 264 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.2599, allocations: 170.1 kB / 438.7 MB, free: 56 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004151/0.2603, allocations: 352.3 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2604, allocations: 30.08 kB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.2605, allocations: 132.4 kB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.717e-05/0.2605, allocations: 19.83 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.2605, allocations: 33.67 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.2607, allocations: 338.8 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.625e-05/0.2608, allocations: 31.98 kB / 439.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.2609, allocations: 147.1 kB / 439.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.2611, allocations: 109.9 kB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2611, allocations: 4 kB / 439.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002592/0.2614, allocations: 133.4 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.2614, allocations: 8 kB / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.2614, allocations: 320 / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2614, allocations: 7.984 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2616, allocations: 28.12 kB / 440.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.2616, allocations: 7.984 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.214e-05/0.2617, allocations: 11.94 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.2617, allocations: 7.984 kB / 440.1 MB, free: 14.57 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.0001415/0.2618, allocations: 154.6 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.2619, allocations: 85.38 kB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.2622, allocations: 131.3 kB / 440.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2622, allocations: 96 / 440.5 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2622, allocations: 4 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2622, allocations: 4 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.2624, allocations: 185.1 kB / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2624, allocations: 0 / 440.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.126e-05/0.2625, allocations: 19.98 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2625, allocations: 0 / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.2625, allocations: 4 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2625, allocations: 0 / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2625, allocations: 3.938 kB / 440.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.2628, allocations: 199.3 kB / 440.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.2629, allocations: 47.78 kB / 440.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.263, allocations: 4 kB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.263, allocations: 7.922 kB / 440.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.2631, allocations: 11.98 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.2631, allocations: 8 kB / 440.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002655/0.2634, allocations: 255 kB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2634, allocations: 0 / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.2636, allocations: 32 kB / 441.2 MB, free: 13.36 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 (12): * Single equations (assignments): 10 * 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.001601/0.2652, allocations: 468.2 kB / 441.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.2655, allocations: 83.83 kB / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2655, allocations: 0 / 441.8 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.008e-05/0.2656, allocations: 35.92 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.266, allocations: 73.12 kB / 441.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006878/0.2667, allocations: 429 kB / 442.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.2669, allocations: 144.2 kB / 442.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.2669, allocations: 27.42 kB / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2669, allocations: 0 / 442.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of Templates: time 0.005618/0.2725, allocations: 3.221 MB / 445.7 MB, free: 9.043 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.659477689012419]