Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.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.001335/0.001335, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001484/0.001484, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.94 kB / 378.2 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2482, allocations: 53.37 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003825/0.2521, allocations: 1.821 MB / 433.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.2544, allocations: 1.122 MB / 434.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.2545, allocations: 0 / 434.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006506/0.2551, allocations: 179.4 kB / 434.7 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.2555, allocations: 171.3 kB / 434.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003626/0.2559, allocations: 142.8 kB / 435 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002818/0.2562, allocations: 219.4 kB / 435.2 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2563, allocations: 9.75 kB / 435.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.2564, allocations: 99.55 kB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.2566, allocations: 87.66 kB / 435.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.2566, allocations: 16 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.2568, allocations: 55.91 kB / 435.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.51e-05/0.2568, allocations: 51.83 kB / 435.5 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.855e-05/0.2569, allocations: 63.59 kB / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.2573, allocations: 225.4 kB / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2573, allocations: 0 / 435.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2573, allocations: 3.938 kB / 435.8 MB, free: 2.496 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2573, allocations: 0 / 435.8 MB, free: 2.496 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001064/0.2584, allocations: 466.7 kB / 436.3 MB, free: 2.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2584, allocations: 16.03 kB / 436.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.2585, allocations: 20.8 kB / 436.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003292/0.2588, allocations: 205.1 kB / 436.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2589, allocations: 8.375 kB / 436.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.2589, allocations: 8.125 kB / 436.5 MB, free: 1.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.2591, allocations: 113 kB / 436.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2591, allocations: 0 / 436.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.2592, allocations: 4 kB / 436.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2592, allocations: 0 / 436.6 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.2594, allocations: 59.91 kB / 436.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.2601, allocations: 0.5398 MB / 437.2 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.2604, allocations: 123.9 kB / 437.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2605, allocations: 50.56 kB / 437.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.2605, allocations: 4 kB / 437.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.2608, allocations: 121.9 kB / 437.5 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 3.467e-06/0.2608, allocations: 4 kB / 437.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004727/0.2613, allocations: 177.4 kB / 437.7 MB, free: 428 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.916e-05/0.2613, allocations: 110.8 kB / 437.8 MB, free: 292 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.2617, allocations: 297.1 kB / 438.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.2617, allocations: 25.7 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.2618, allocations: 124.1 kB / 438.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.2619, allocations: 35.73 kB / 438.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.2619, allocations: 25.72 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.2621, allocations: 342.7 kB / 438.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.699e-05/0.2622, allocations: 36.11 kB / 438.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2624, allocations: 102.8 kB / 438.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002254/0.2626, allocations: 104.6 kB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2626, allocations: 0 / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002915/0.2629, allocations: 149.3 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2629, allocations: 4.125 kB / 439 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.801e-05/0.263, allocations: 8 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.263, allocations: 3.984 kB / 439 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.117e-05/0.2631, allocations: 16 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.2631, allocations: 4 kB / 439.1 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.884e-05/0.2632, allocations: 7.984 kB / 439.1 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.2632, allocations: 8 kB / 439.1 MB, free: 14.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001553/0.2634, allocations: 154.3 kB / 439.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.2634, allocations: 23.86 kB / 439.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.2637, allocations: 115.4 kB / 439.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2637, allocations: 4 kB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2637, allocations: 0 / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.2637, allocations: 3.984 kB / 439.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003126/0.264, allocations: 181.1 kB / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.264, allocations: 3.938 kB / 439.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.264, allocations: 8 kB / 439.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.264, allocations: 128 / 439.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.2641, allocations: 15.98 kB / 439.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2641, allocations: 80 / 439.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2641, allocations: 3.984 kB / 439.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.2644, allocations: 190.5 kB / 439.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.2644, allocations: 19.91 kB / 439.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.2645, allocations: 7.984 kB / 439.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.62e-05/0.2646, allocations: 11.98 kB / 439.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.2646, allocations: 15.98 kB / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.2647, allocations: 4 kB / 439.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002389/0.2649, allocations: 220.4 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2649, allocations: 0 / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.2652, allocations: 43.83 kB / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001582/0.2667, allocations: 450 kB / 440.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003331/0.2671, allocations: 99.81 kB / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2671, allocations: 0 / 440.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.2672, allocations: 55.91 kB / 440.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2675, allocations: 41.8 kB / 440.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.2683, allocations: 353 kB / 441.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002093/0.2685, allocations: 127.6 kB / 441.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.081e-05/0.2686, allocations: 21.64 kB / 441.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.965e-05/0.2687, allocations: 27.38 kB / 441.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2687, allocations: 0 / 441.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of Templates: time 0.007151/0.2758, allocations: 3.01 MB / 444.2 MB, free: 9.867 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.ShowLogicalSources.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: 4.645211113616824]