Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.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.0009581/0.0009581, allocations: 75.75 kB / 21.97 MB, free: 2.605 MB / 18.57 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.0009904/0.0009904, allocations: 166.8 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9149/0.9149, allocations: 158.6 MB / 187.2 MB, free: 2.555 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 251 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.723e-05/3.934e-05, allocations: 2.312 kB / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00235/0.002389, allocations: 1.634 MB / 252.7 MB, free: 1.965 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006408/0.00303, allocations: 463.7 kB / 253.1 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.003084, allocations: 0 / 253.1 MB, free: 1.504 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.003124, allocations: 7.938 kB / 253.1 MB, free: 1.496 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.161e-05/0.003216, allocations: 19.78 kB / 253.1 MB, free: 1.477 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.003379, allocations: 15.98 kB / 253.2 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.003471, allocations: 63.78 kB / 253.2 MB, free: 1.398 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.003634, allocations: 35.91 kB / 253.2 MB, free: 1.363 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.00375, allocations: 39.84 kB / 253.3 MB, free: 1.324 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.003803, allocations: 23.95 kB / 253.3 MB, free: 1.301 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.003823, allocations: 8 kB / 253.3 MB, free: 1.293 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.003836, allocations: 4 kB / 253.3 MB, free: 1.289 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.057e-05/0.003856, allocations: 11.94 kB / 253.3 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.003885, allocations: 19.92 kB / 253.4 MB, free: 1.258 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.004004, allocations: 59.73 kB / 253.4 MB, free: 1.199 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004006, allocations: 0 / 253.4 MB, free: 1.199 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.004007, allocations: 0 / 253.4 MB, free: 1.199 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.004012, allocations: 0 / 253.4 MB, free: 1.199 MB / 234.7 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.0004043/0.004416, allocations: 396.4 kB / 253.8 MB, free: 0.7773 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.004459, allocations: 16.02 kB / 253.8 MB, free: 0.7617 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.0045, allocations: 8.891 kB / 253.8 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.004593, allocations: 124.5 kB / 253.9 MB, free: 0.6055 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.004621, allocations: 8.375 kB / 254 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.004635, allocations: 4.375 kB / 254 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.004834, allocations: 125.4 kB / 254.1 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.004844, allocations: 192 / 254.1 MB, free: 452 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.004858, allocations: 4.312 kB / 254.1 MB, free: 448 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.00487, allocations: 11.92 kB / 254.1 MB, free: 436 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.744e-05/0.004928, allocations: 27.86 kB / 254.1 MB, free: 408 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.005539, allocations: 0.8039 MB / 254.9 MB, free: 15.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.005659, allocations: 139.4 kB / 255.1 MB, free: 15.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.005709, allocations: 54.48 kB / 255.1 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.005727, allocations: 0 / 255.1 MB, free: 15.27 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.005752, allocations: 41.39 kB / 255.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.005753, allocations: 0 / 255.2 MB, free: 15.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002149/0.005968, allocations: 78.03 kB / 255.2 MB, free: 15.13 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.006028, allocations: 162.3 kB / 255.4 MB, free: 14.94 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.006121, allocations: 181.9 kB / 255.6 MB, free: 14.74 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.006132, allocations: 25.7 kB / 255.6 MB, free: 14.71 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.0062, allocations: 146.8 kB / 255.7 MB, free: 14.56 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.572e-05/0.006226, allocations: 19.84 kB / 255.8 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.881e-05/0.006264, allocations: 23.38 kB / 255.8 MB, free: 14.51 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.006397, allocations: 0.4961 MB / 256.3 MB, free: 14 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.006421, allocations: 4 kB / 256.3 MB, free: 14 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/0.006461, allocations: 50.42 kB / 256.3 MB, free: 13.93 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.671e-05/0.006527, allocations: 66.38 kB / 256.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.00653, allocations: 0 / 256.4 MB, free: 13.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.461e-05/0.006624, allocations: 69.52 kB / 256.5 MB, free: 13.77 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.006643, allocations: 10.97 kB / 256.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.006649, allocations: 0 / 256.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.006667, allocations: 0 / 256.5 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.497e-05/0.006762, allocations: 20.08 kB / 256.5 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.006771, allocations: 4 kB / 256.5 MB, free: 13.74 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.038e-05/0.006811, allocations: 8 kB / 256.5 MB, free: 13.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.006821, allocations: 4 kB / 256.5 MB, free: 13.73 MB / 250.7 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 8.189e-05/0.006903, allocations: 160.5 kB / 256.7 MB, free: 13.56 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.006962, allocations: 15.95 kB / 256.7 MB, free: 13.54 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.006991, allocations: 11.56 kB / 256.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.006996, allocations: 4 kB / 256.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.007, allocations: 0 / 256.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.007004, allocations: 4 kB / 256.7 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002274/0.007232, allocations: 144.5 kB / 256.8 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.007233, allocations: 0 / 256.8 MB, free: 13.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.007274, allocations: 11.94 kB / 256.9 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.007276, allocations: 0 / 256.9 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.007285, allocations: 4 kB / 256.9 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.007287, allocations: 3.984 kB / 256.9 MB, free: 13.33 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.00729, allocations: 4 kB / 256.9 MB, free: 13.32 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005887/0.007878, allocations: 0.6763 MB / 257.5 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.007889, allocations: 7.953 kB / 257.5 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.007904, allocations: 8.188 kB / 257.6 MB, free: 12.61 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.008016, allocations: 12 kB / 257.6 MB, free: 12.6 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.008065, allocations: 7.984 kB / 257.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.00807, allocations: 0 / 257.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.594e-05/0.008116, allocations: 139.5 kB / 257.7 MB, free: 12.45 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008116, allocations: 0 / 257.7 MB, free: 12.45 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002555/0.008371, allocations: 16 kB / 257.7 MB, free: 12.44 MB / 250.7 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 9.758e-05/0.008469, allocations: 91.25 kB / 257.8 MB, free: 12.34 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.008596, allocations: 47.73 kB / 257.9 MB, free: 12.29 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.008597, allocations: 0 / 257.9 MB, free: 12.29 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.299e-05/0.00863, allocations: 27.61 kB / 257.9 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.008988, allocations: 4 kB / 257.9 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.009604, allocations: 219.6 kB / 258.1 MB, free: 11.99 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.422e-05/0.009658, allocations: 58.61 kB / 258.2 MB, free: 11.92 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.439e-05/0.009682, allocations: 11.98 kB / 258.2 MB, free: 11.91 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.415e-05/0.009716, allocations: 16.5 kB / 258.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009717, allocations: 0 / 258.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of Templates: time 0.002484/0.0122, allocations: 0.5415 MB / 258.7 MB, free: 11.36 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9312968612648547]