Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.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.00183/0.00183, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.002291/0.002291, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 59.91 kB / 379 MB, free: 2.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2405, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002989/0.2435, allocations: 1.634 MB / 434.1 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.2445, allocations: 0.4908 MB / 434.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.2446, allocations: 4 kB / 434.6 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.2447, allocations: 7.875 kB / 434.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.2448, allocations: 15.86 kB / 434.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.245, allocations: 35.91 kB / 434.6 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.2452, allocations: 59.84 kB / 434.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.2453, allocations: 40.12 kB / 434.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.2455, allocations: 31.86 kB / 434.7 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.356e-05/0.2456, allocations: 27.86 kB / 434.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.2456, allocations: 4 kB / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.618e-05/0.2456, allocations: 8 kB / 434.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.2457, allocations: 23.91 kB / 434.8 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.2457, allocations: 23.81 kB / 434.8 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.2459, allocations: 87.16 kB / 434.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2459, allocations: 0 / 434.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2459, allocations: 0 / 434.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2459, allocations: 3.938 kB / 434.9 MB, free: 4.27 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005309/0.2464, allocations: 307.8 kB / 435.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.2464, allocations: 8.031 kB / 435.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.2466, allocations: 24.83 kB / 435.2 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.2468, allocations: 122.4 kB / 435.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.2468, allocations: 8.375 kB / 435.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.2469, allocations: 8.375 kB / 435.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.2471, allocations: 118.2 kB / 435.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2471, allocations: 0 / 435.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2471, allocations: 0 / 435.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2471, allocations: 8 kB / 435.5 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.2473, allocations: 59.88 kB / 435.6 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006995/0.248, allocations: 0.606 MB / 436.2 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.2482, allocations: 116.9 kB / 436.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/0.2483, allocations: 52.41 kB / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.2484, allocations: 0 / 436.3 MB, free: 2.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.2484, allocations: 46.44 kB / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.2484, allocations: 0 / 436.4 MB, free: 2.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004648/0.2489, allocations: 121.5 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.249, allocations: 166.2 kB / 436.7 MB, free: 2.277 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2491, allocations: 122.3 kB / 436.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2491, allocations: 25.7 kB / 436.8 MB, free: 2.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.262e-05/0.2492, allocations: 104 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.2492, allocations: 15.91 kB / 436.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.2492, allocations: 21.7 kB / 436.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.2494, allocations: 318.8 kB / 437.3 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.2495, allocations: 23.92 kB / 437.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.2496, allocations: 52.27 kB / 437.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.2498, allocations: 84.2 kB / 437.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2498, allocations: 0 / 437.4 MB, free: 1.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002271/0.25, allocations: 97.61 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.25, allocations: 4 kB / 437.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.25, allocations: 8 kB / 437.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.25, allocations: 0 / 437.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.498e-05/0.2501, allocations: 11.98 kB / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2501, allocations: 8.156 kB / 437.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.2502, allocations: 11.92 kB / 437.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.2502, allocations: 8 kB / 437.6 MB, free: 1.309 MB / 334.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: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.552e-05/0.2503, allocations: 113.8 kB / 437.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.401e-05/0.2504, allocations: 7.953 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.135e-05/0.2504, allocations: 11.58 kB / 437.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2504, allocations: 4 kB / 437.7 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2504, allocations: 3.938 kB / 437.7 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.2504, allocations: 15.92 kB / 437.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003985/0.2508, allocations: 160.6 kB / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2508, allocations: 0 / 437.9 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.717e-05/0.2509, allocations: 8 kB / 437.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.2509, allocations: 4 kB / 437.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2509, allocations: 0 / 437.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.2509, allocations: 7.984 kB / 437.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2509, allocations: 0 / 437.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.2513, allocations: 0.4887 MB / 438.4 MB, free: 424 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.274e-05/0.2513, allocations: 7.953 kB / 438.4 MB, free: 416 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.2514, allocations: 8 kB / 438.4 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.2516, allocations: 7.984 kB / 438.4 MB, free: 400 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.2516, allocations: 15.88 kB / 438.4 MB, free: 384 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.2516, allocations: 0 / 438.4 MB, free: 384 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.497e-05/0.2517, allocations: 99.7 kB / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2517, allocations: 0 / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003884/0.2521, allocations: 8 kB / 438.5 MB, free: 276 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (integerStep.y,booleanStep.y,part.subControlBus.myBooleanSignal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0001124/0.2522, allocations: 99.17 kB / 438.6 MB, free: 168 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.2524, allocations: 59.91 kB / 438.7 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2524, allocations: 0 / 438.7 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.2525, allocations: 35.91 kB / 438.7 MB, free: 72 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.2531, allocations: 8.328 kB / 438.7 MB, free: 64 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.2535, allocations: 233.1 kB / 438.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.2539, allocations: 0.6924 MB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.254, allocations: 7.438 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.254, allocations: 0 / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of Templates: time 0.002612/0.2566, allocations: 0.9118 MB / 440.6 MB, free: 14.16 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.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: 6.902097990037873]