Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001333/0.001333, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001486/0.001486, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.405/1.405, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 43.92 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2375, allocations: 53.37 MB / 432.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003806/0.2413, allocations: 1.954 MB / 434.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.2436, allocations: 1.266 MB / 435.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.2438, allocations: 7.938 kB / 435.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006457/0.2444, allocations: 159.2 kB / 435.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.2449, allocations: 159.3 kB / 435.9 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.2454, allocations: 183.4 kB / 436.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.2457, allocations: 199.4 kB / 436.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2458, allocations: 21.8 kB / 436.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.246, allocations: 91.56 kB / 436.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.2461, allocations: 83.61 kB / 436.5 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.2461, allocations: 8 kB / 436.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.2463, allocations: 63.91 kB / 436.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.2464, allocations: 51.83 kB / 436.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.773e-05/0.2465, allocations: 79.42 kB / 436.7 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.2468, allocations: 228.2 kB / 436.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2469, allocations: 0 / 436.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2469, allocations: 0 / 436.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.2469, allocations: 0 / 436.9 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.0008571/0.2477, allocations: 462.6 kB / 437.4 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2478, allocations: 8.031 kB / 437.4 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.2478, allocations: 24.8 kB / 437.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.2482, allocations: 225.1 kB / 437.6 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2482, allocations: 4.375 kB / 437.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.2483, allocations: 16.11 kB / 437.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/0.2486, allocations: 174.6 kB / 437.8 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2486, allocations: 3.984 kB / 437.8 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2486, allocations: 4 kB / 437.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.2486, allocations: 0 / 437.8 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.2488, allocations: 35.92 kB / 437.8 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.2493, allocations: 354.3 kB / 438.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.2495, allocations: 122.5 kB / 438.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.624e-05/0.2496, allocations: 55.42 kB / 438.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.2496, allocations: 7.922 kB / 438.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.2498, allocations: 75.39 kB / 438.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.2498, allocations: 0 / 438.5 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003837/0.2502, allocations: 161.6 kB / 438.6 MB, free: 492 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.2503, allocations: 170.1 kB / 438.8 MB, free: 284 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.2506, allocations: 273.9 kB / 439 MB, free: 0 / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.2506, allocations: 30.08 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.063e-05/0.2507, allocations: 128.3 kB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.2507, allocations: 23.91 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.535e-05/0.2508, allocations: 41.64 kB / 439.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2509, allocations: 330.8 kB / 439.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.251, allocations: 19.98 kB / 439.6 MB, free: 15.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.2511, allocations: 83.72 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.2513, allocations: 97.91 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2513, allocations: 0 / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002339/0.2515, allocations: 133.4 kB / 439.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2515, allocations: 8 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2515, allocations: 0 / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2516, allocations: 4 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.957e-05/0.2516, allocations: 12 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.2517, allocations: 8.109 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-05/0.2517, allocations: 15.92 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.2517, allocations: 11.94 kB / 440 MB, free: 14.99 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.0001319/0.2519, allocations: 146.7 kB / 440.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.252, allocations: 77.48 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.2522, allocations: 111.3 kB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.2522, allocations: 4.094 kB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2522, allocations: 4 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2522, allocations: 7.938 kB / 440.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.2524, allocations: 204.5 kB / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2524, allocations: 192 / 440.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.2525, allocations: 8 kB / 440.5 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.2525, allocations: 4 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.2525, allocations: 4 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.2525, allocations: 0 / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2525, allocations: 4 kB / 440.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.2527, allocations: 179.3 kB / 440.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.206e-05/0.2528, allocations: 31.89 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.2529, allocations: 3.984 kB / 440.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.916e-05/0.2529, allocations: 8 kB / 440.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.253, allocations: 7.984 kB / 440.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.253, allocations: 11.94 kB / 440.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.2532, allocations: 205.2 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2532, allocations: 0 / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.2534, allocations: 31.94 kB / 441 MB, free: 13.86 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.001532/0.255, allocations: 433.5 kB / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.2552, allocations: 76.22 kB / 441.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2552, allocations: 0 / 441.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.2553, allocations: 27.92 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.2557, allocations: 76.39 kB / 441.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00064/0.2564, allocations: 367.8 kB / 442 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.2567, allocations: 0.7359 MB / 442.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.2568, allocations: 27.42 kB / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2568, allocations: 0 / 442.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Templates: time 0.005425/0.2622, allocations: 2.864 MB / 445.6 MB, free: 9.379 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.137240239186212]