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.001326/0.001326, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001451/0.001451, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 8.023 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.001632/0.001632, allocations: 51.92 kB / 379 MB, free: 2.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2383, allocations: 53.36 MB / 432.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003645/0.242, allocations: 1.948 MB / 434.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.2445, allocations: 1.336 MB / 435.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.2446, allocations: 7.938 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.2449, allocations: 75.59 kB / 435.8 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004221/0.2454, allocations: 135.4 kB / 435.9 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007625/0.2461, allocations: 227.3 kB / 436.1 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.2464, allocations: 191.4 kB / 436.3 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2466, allocations: 25.8 kB / 436.3 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.2467, allocations: 95.56 kB / 436.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.2469, allocations: 83.67 kB / 436.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.2469, allocations: 8 kB / 436.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.2471, allocations: 79.88 kB / 436.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.377e-05/0.2472, allocations: 51.78 kB / 436.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.2473, allocations: 95.33 kB / 436.7 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.2477, allocations: 252.2 kB / 437 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2477, allocations: 0 / 437 MB, free: 2.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.2477, allocations: 3.938 kB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.2477, allocations: 0 / 437 MB, free: 2.344 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.0008069/0.2486, allocations: 490.5 kB / 437.5 MB, free: 1.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2486, allocations: 11.97 kB / 437.5 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.31e-05/0.2487, allocations: 24.8 kB / 437.5 MB, free: 1.793 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000463/0.2491, allocations: 250.5 kB / 437.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2491, allocations: 4.375 kB / 437.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.2492, allocations: 12.12 kB / 437.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.2495, allocations: 180.4 kB / 437.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2496, allocations: 0 / 437.9 MB, free: 1.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2496, allocations: 3.938 kB / 437.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.2496, allocations: 4 kB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.2497, allocations: 39.98 kB / 438 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.2503, allocations: 374.2 kB / 438.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.2505, allocations: 142.5 kB / 438.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.2506, allocations: 59.36 kB / 438.5 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.2507, allocations: 12.06 kB / 438.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.2509, allocations: 71.38 kB / 438.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.764e-06/0.2509, allocations: 0 / 438.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004235/0.2513, allocations: 173.4 kB / 438.8 MB, free: 332 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.2514, allocations: 192.2 kB / 439 MB, free: 96 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.2518, allocations: 348.2 kB / 439.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.2519, allocations: 33.64 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.252, allocations: 132.4 kB / 439.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.252, allocations: 15.91 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.2521, allocations: 37.66 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2522, allocations: 338.8 kB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.2523, allocations: 31.98 kB / 439.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.2524, allocations: 100.1 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.2526, allocations: 105.9 kB / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2526, allocations: 0 / 440.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002644/0.2529, allocations: 137.5 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2529, allocations: 8 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2529, allocations: 0 / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2529, allocations: 4 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.253, allocations: 27.92 kB / 440.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2531, allocations: 4 kB / 440.3 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.536e-05/0.2532, allocations: 15.86 kB / 440.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2532, allocations: 7.938 kB / 440.3 MB, free: 14.68 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.0001511/0.2533, allocations: 159 kB / 440.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.2534, allocations: 85.44 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.2537, allocations: 127.3 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2537, allocations: 0 / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2537, allocations: 0 / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.2537, allocations: 7.938 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.2539, allocations: 212.6 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2539, allocations: 4 kB / 440.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.535e-05/0.254, allocations: 16.08 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.254, allocations: 4 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.254, allocations: 8 kB / 440.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.254, allocations: 3.938 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.254, allocations: 0 / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.2543, allocations: 191.3 kB / 441.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.574e-05/0.2544, allocations: 47.75 kB / 441.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.2544, allocations: 8 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.2545, allocations: 4 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.2546, allocations: 11.98 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2546, allocations: 7.938 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002702/0.2549, allocations: 255 kB / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2549, allocations: 0 / 441.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.2552, allocations: 39.88 kB / 441.5 MB, free: 13.42 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.001516/0.2567, allocations: 429.5 kB / 441.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.2569, allocations: 79.89 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2569, allocations: 3.938 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.904e-05/0.257, allocations: 23.98 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004368/0.2574, allocations: 78.09 kB / 442.1 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.2582, allocations: 428.4 kB / 442.5 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.2586, allocations: 0.7476 MB / 443.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.2586, allocations: 27.44 kB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2586, allocations: 0 / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Templates: time 0.006126/0.2648, allocations: 3.172 MB / 446.4 MB, free: 8.555 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.209336210042238]