Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009457/0.0009457, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.002134, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007238/0.0007238, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009454/0.001669, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.021/1.021, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1253/1.147, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.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_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_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.716e-05/3.909e-05, allocations: 5.688 kB / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002702/0.002741, allocations: 1.706 MB / 246.4 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006421/0.003383, allocations: 494.6 kB / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7e-05/0.003453, allocations: 0 / 246.9 MB, free: 12 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.003488, allocations: 15.86 kB / 246.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.199e-05/0.00354, allocations: 11.88 kB / 246.9 MB, free: 11.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001117/0.003652, allocations: 35.89 kB / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.003762, allocations: 59.73 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.003902, allocations: 44.06 kB / 247.1 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.00404, allocations: 47.91 kB / 247.1 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.909e-05/0.004099, allocations: 27.89 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.004116, allocations: 4 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.385e-05/0.00418, allocations: 8 kB / 247.1 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.0042, allocations: 11.94 kB / 247.2 MB, free: 11.74 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.056e-05/0.004221, allocations: 19.94 kB / 247.2 MB, free: 11.72 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.004352, allocations: 47.77 kB / 247.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313e-05/0.004365, allocations: 4 kB / 247.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004366, allocations: 0 / 247.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.004376, allocations: 0 / 247.2 MB, free: 11.67 MB / 250.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.0004249/0.0048, allocations: 284.4 kB / 247.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.004837, allocations: 11.98 kB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.004985, allocations: 98.03 kB / 247.6 MB, free: 11.24 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.005144, allocations: 137.5 kB / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.00516, allocations: 384 / 247.7 MB, free: 11.08 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.005174, allocations: 16.36 kB / 247.8 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.005313, allocations: 110.9 kB / 247.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.00532, allocations: 192 / 247.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.005329, allocations: 4.375 kB / 247.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.005335, allocations: 11.88 kB / 247.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.524e-05/0.00537, allocations: 23.92 kB / 247.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.005733, allocations: 0.5125 MB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.951e-05/0.005822, allocations: 101 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.005856, allocations: 36.34 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.005872, allocations: 4 kB / 248.6 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.005899, allocations: 46.48 kB / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.005901, allocations: 0 / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.000175/0.006076, allocations: 65.56 kB / 248.7 MB, free: 10.03 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.006139, allocations: 158.2 kB / 248.8 MB, free: 9.84 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.64e-05/0.006205, allocations: 123.2 kB / 248.9 MB, free: 9.707 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.006218, allocations: 29.7 kB / 249 MB, free: 9.672 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.006262, allocations: 100.1 kB / 249.1 MB, free: 9.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.006282, allocations: 15.89 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.006309, allocations: 17.72 kB / 249.1 MB, free: 9.531 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.006404, allocations: 322.8 kB / 249.4 MB, free: 9.207 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.006416, allocations: 3.938 kB / 249.4 MB, free: 9.203 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.843e-05/0.006444, allocations: 36.28 kB / 249.5 MB, free: 9.152 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.006494, allocations: 56.2 kB / 249.5 MB, free: 9.082 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006497, allocations: 0 / 249.5 MB, free: 9.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.629e-05/0.006563, allocations: 61.5 kB / 249.6 MB, free: 9.016 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.006576, allocations: 8 kB / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.006582, allocations: 0 / 249.6 MB, free: 9.008 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.006592, allocations: 4 kB / 249.6 MB, free: 9.004 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.006662, allocations: 11.98 kB / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.006666, allocations: 0 / 249.6 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.006695, allocations: 16.05 kB / 249.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.006702, allocations: 4 kB / 249.6 MB, free: 8.973 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 6.085e-05/0.006762, allocations: 117.8 kB / 249.7 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.006808, allocations: 11.88 kB / 249.7 MB, free: 8.836 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.006832, allocations: 11.62 kB / 249.8 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.006835, allocations: 3.938 kB / 249.8 MB, free: 8.824 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.006838, allocations: 4 kB / 249.8 MB, free: 8.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.006842, allocations: 3.984 kB / 249.8 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.007043, allocations: 77.88 kB / 249.8 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007044, allocations: 0 / 249.8 MB, free: 8.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.007074, allocations: 16 kB / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.007085, allocations: 15.88 kB / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007087, allocations: 0 / 249.9 MB, free: 8.691 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.007093, allocations: 4 kB / 249.9 MB, free: 8.688 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.007095, allocations: 4 kB / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.007097, allocations: 128 / 249.9 MB, free: 8.684 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.007292, allocations: 456.6 kB / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.007305, allocations: 11.92 kB / 250.3 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.007408, allocations: 7.984 kB / 250.3 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.007443, allocations: 11.98 kB / 250.4 MB, free: 8.188 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.007447, allocations: 4 kB / 250.4 MB, free: 8.184 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.91e-05/0.007466, allocations: 16.84 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007466, allocations: 0 / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002064/0.007672, allocations: 12 kB / 250.4 MB, free: 8.152 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 7.147e-05/0.007744, allocations: 84.3 kB / 250.5 MB, free: 8.059 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.851e-05/0.007822, allocations: 32.72 kB / 250.5 MB, free: 8.023 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.007832, allocations: 8.453 kB / 250.5 MB, free: 8.016 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.007862, allocations: 20.86 kB / 250.5 MB, free: 7.992 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.008154, allocations: 19.92 kB / 250.5 MB, free: 7.973 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006877/0.008841, allocations: 208.3 kB / 250.8 MB, free: 7.73 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.594e-05/0.008897, allocations: 63.34 kB / 250.8 MB, free: 7.648 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.153e-05/0.008929, allocations: 480 / 250.8 MB, free: 7.648 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.68e-05/0.008976, allocations: 59.38 kB / 250.9 MB, free: 7.59 MB / 250.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008976, allocations: 0 / 250.9 MB, free: 7.59 MB / 250.7 MB Notification: Performance of Templates: time 0.002071/0.01105, allocations: 0.5191 MB / 251.4 MB, free: 7.074 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.607042368501425]