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.001424/0.001424, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002879/0.002879, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.681/1.681, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.002357/0.002357, allocations: 59.91 kB / 379 MB, free: 2.316 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4204, allocations: 53.42 MB / 432.4 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.005015/0.4255, allocations: 1.602 MB / 434 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.4268, allocations: 458.8 kB / 434.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.4269, allocations: 4 kB / 434.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.446e-05/0.427, allocations: 11.86 kB / 434.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.4271, allocations: 11.86 kB / 434.5 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.4274, allocations: 35.91 kB / 434.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.4276, allocations: 63.78 kB / 434.6 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.4278, allocations: 36 kB / 434.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.428, allocations: 35.8 kB / 434.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.4281, allocations: 27.84 kB / 434.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.4281, allocations: 4 kB / 434.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.35e-05/0.4281, allocations: 8 kB / 434.7 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.4282, allocations: 19.92 kB / 434.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.4282, allocations: 19.86 kB / 434.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.4285, allocations: 82.73 kB / 434.8 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4285, allocations: 3.938 kB / 434.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4285, allocations: 4 kB / 434.8 MB, free: 4.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.4285, allocations: 0 / 434.8 MB, free: 4.082 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.001002/0.4295, allocations: 313.7 kB / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.4295, allocations: 8.031 kB / 435.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.4297, allocations: 24.88 kB / 435.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.4301, allocations: 126.4 kB / 435.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.4302, allocations: 384 / 435.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.4302, allocations: 8.375 kB / 435.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/0.4305, allocations: 126.2 kB / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4305, allocations: 0 / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.4306, allocations: 0 / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.4306, allocations: 4 kB / 435.4 MB, free: 3.414 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/0.4309, allocations: 55.89 kB / 435.4 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.4319, allocations: 0.5714 MB / 436 MB, free: 2.742 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003156/0.4322, allocations: 117 kB / 436.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.4324, allocations: 48.34 kB / 436.2 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.4325, allocations: 3.984 kB / 436.2 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.4325, allocations: 42.5 kB / 436.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.4325, allocations: 0 / 436.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000715/0.4332, allocations: 122 kB / 436.3 MB, free: 2.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/0.4334, allocations: 162.2 kB / 436.5 MB, free: 2.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4336, allocations: 125.8 kB / 436.6 MB, free: 2.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.4336, allocations: 25.7 kB / 436.6 MB, free: 1.98 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.4338, allocations: 99.97 kB / 436.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.4339, allocations: 19.89 kB / 436.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.4339, allocations: 21.66 kB / 436.8 MB, free: 1.832 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002927/0.4342, allocations: 322.8 kB / 437.1 MB, free: 1.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.4344, allocations: 19.98 kB / 437.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.4346, allocations: 52.41 kB / 437.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.435, allocations: 80.2 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.435, allocations: 0 / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004426/0.4354, allocations: 101.5 kB / 437.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4354, allocations: 6.656 kB / 437.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.4354, allocations: 7.984 kB / 437.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4355, allocations: 0 / 437.4 MB, free: 1.211 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.4356, allocations: 8 kB / 437.4 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.4356, allocations: 4 kB / 437.4 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.4358, allocations: 11.98 kB / 437.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.4358, allocations: 12.09 kB / 437.4 MB, free: 1.176 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.000157/0.4359, allocations: 117.8 kB / 437.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.4361, allocations: 7.953 kB / 437.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.4362, allocations: 23.5 kB / 437.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.4362, allocations: 0 / 437.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.4362, allocations: 4 kB / 437.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4362, allocations: 0 / 437.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006189/0.4368, allocations: 129.1 kB / 437.7 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.4368, allocations: 8.109 kB / 437.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.4369, allocations: 12 kB / 437.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4369, allocations: 4 kB / 437.7 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.4369, allocations: 8 kB / 437.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.4369, allocations: 3.984 kB / 437.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.437, allocations: 4 kB / 437.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.4377, allocations: 488.5 kB / 438.2 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.4377, allocations: 11.95 kB / 438.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.4377, allocations: 4 kB / 438.2 MB, free: 312 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004167/0.4381, allocations: 4 kB / 438.2 MB, free: 308 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.4382, allocations: 19.92 kB / 438.2 MB, free: 288 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4382, allocations: 4 kB / 438.2 MB, free: 284 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.4383, allocations: 95.2 kB / 438.3 MB, free: 188 kB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4383, allocations: 0 / 438.3 MB, free: 188 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007144/0.439, allocations: 8 kB / 438.3 MB, free: 180 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.0001576/0.4392, allocations: 103.2 kB / 438.4 MB, free: 68 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.4396, allocations: 60.09 kB / 438.5 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4396, allocations: 0 / 438.5 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.4398, allocations: 35.91 kB / 438.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/0.4408, allocations: 8 kB / 438.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007749/0.4416, allocations: 228.6 kB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.4418, allocations: 83.7 kB / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.4418, allocations: 11.44 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4418, allocations: 0 / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Templates: time 0.004423/0.4462, allocations: 0.9105 MB / 439.8 MB, free: 14.67 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: 7.180433053057641]