Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.006525/0.006525, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.001696/0.001696, allocations: 216.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 259 MB, free: 8.051 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-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 68.12 kB / 379.8 MB, free: 2.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2532, allocations: 53.37 MB / 433.2 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003352/0.2566, allocations: 1.63 MB / 434.8 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009948/0.2576, allocations: 0.4986 MB / 435.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.968e-05/0.2577, allocations: 0 / 435.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.078e-05/0.2577, allocations: 11.88 kB / 435.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.264e-05/0.2578, allocations: 7.875 kB / 435.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.258, allocations: 31.91 kB / 435.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.2581, allocations: 67.77 kB / 435.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.2583, allocations: 36.14 kB / 435.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.2584, allocations: 39.84 kB / 435.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.2585, allocations: 27.8 kB / 435.5 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.2585, allocations: 8 kB / 435.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.409e-05/0.2586, allocations: 12 kB / 435.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2586, allocations: 15.92 kB / 435.5 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.2586, allocations: 27.81 kB / 435.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001788/0.2588, allocations: 77.19 kB / 435.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2588, allocations: 0 / 435.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2588, allocations: 0 / 435.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2588, allocations: 0 / 435.6 MB, free: 4.637 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.000535/0.2594, allocations: 310 kB / 435.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2594, allocations: 16.03 kB / 436 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.2595, allocations: 20.83 kB / 436 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.2598, allocations: 130.4 kB / 436.1 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.2598, allocations: 4.375 kB / 436.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.2598, allocations: 8.375 kB / 436.1 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002485/0.2601, allocations: 125.1 kB / 436.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.2601, allocations: 0 / 436.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.2601, allocations: 0 / 436.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.2601, allocations: 4 kB / 436.2 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.2603, allocations: 55.89 kB / 436.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.2609, allocations: 0.6059 MB / 436.9 MB, free: 3.242 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.2611, allocations: 117 kB / 437 MB, free: 3.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.2612, allocations: 52.34 kB / 437.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2613, allocations: 3.938 kB / 437.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.2613, allocations: 38.56 kB / 437.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.2613, allocations: 3.938 kB / 437.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004395/0.2617, allocations: 125.5 kB / 437.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.2618, allocations: 162.8 kB / 437.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.2619, allocations: 121.8 kB / 437.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.262, allocations: 25.7 kB / 437.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.54e-05/0.262, allocations: 100.1 kB / 437.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.2621, allocations: 19.83 kB / 437.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.566e-05/0.2621, allocations: 21.7 kB / 437.7 MB, free: 2.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2623, allocations: 314.8 kB / 438 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/0.2623, allocations: 23.98 kB / 438 MB, free: 1.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.2624, allocations: 56.27 kB / 438.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.2626, allocations: 80.2 kB / 438.1 MB, free: 1.824 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2626, allocations: 4 kB / 438.1 MB, free: 1.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002414/0.2628, allocations: 93.48 kB / 438.2 MB, free: 1.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2629, allocations: 8 kB / 438.2 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2629, allocations: 4.156 kB / 438.3 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.2629, allocations: 7.938 kB / 438.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.263, allocations: 11.98 kB / 438.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.263, allocations: 0 / 438.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.258e-05/0.2631, allocations: 19.92 kB / 438.3 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2631, allocations: 0 / 438.3 MB, free: 1.672 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 0.0001013/0.2632, allocations: 121.8 kB / 438.4 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.2633, allocations: 7.953 kB / 438.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.2633, allocations: 15.58 kB / 438.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.2633, allocations: 7.984 kB / 438.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2633, allocations: 0 / 438.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2633, allocations: 7.922 kB / 438.4 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.2637, allocations: 156.7 kB / 438.6 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2637, allocations: 4 kB / 438.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.2638, allocations: 8 kB / 438.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2638, allocations: 0 / 438.6 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2638, allocations: 11.94 kB / 438.6 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2638, allocations: 3.984 kB / 438.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.2638, allocations: 11.94 kB / 438.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.2642, allocations: 484.5 kB / 439.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.2642, allocations: 15.95 kB / 439.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.2642, allocations: 0 / 439.1 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2645, allocations: 11.98 kB / 439.1 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.2645, allocations: 11.88 kB / 439.2 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.2645, allocations: 8.172 kB / 439.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.984e-05/0.2646, allocations: 87.28 kB / 439.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2646, allocations: 0 / 439.2 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004219/0.265, allocations: 12 kB / 439.3 MB, free: 0.6289 MB / 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.0001049/0.2651, allocations: 103.2 kB / 439.4 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.2653, allocations: 55.91 kB / 439.4 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2653, allocations: 0 / 439.4 MB, free: 476 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.2654, allocations: 36.41 kB / 439.4 MB, free: 440 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.266, allocations: 12.12 kB / 439.5 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.2664, allocations: 228.4 kB / 439.7 MB, free: 156 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/0.2668, allocations: 0.6885 MB / 440.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.2669, allocations: 19.38 kB / 440.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2669, allocations: 0 / 440.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Templates: time 0.002625/0.2695, allocations: 0.8918 MB / 441.3 MB, free: 14.52 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.933224636828527]