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.001555/0.001555, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001518/0.001518, allocations: 160.6 kB / 25.02 MB, free: 9.438 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 1.434/1.434, allocations: 158.6 MB / 186.8 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] 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 1.804e-06/1.804e-06, allocations: 0 / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.27e-05/3.451e-05, allocations: 2.312 kB / 250.3 MB, free: 3.957 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003244/0.003279, allocations: 1.591 MB / 251.9 MB, free: 2.348 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.004175, allocations: 440.5 kB / 252.4 MB, free: 1.91 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.004234, allocations: 4 kB / 252.4 MB, free: 1.906 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 4.527e-05/0.004279, allocations: 15.86 kB / 252.4 MB, free: 1.891 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.004365, allocations: 7.875 kB / 252.4 MB, free: 1.883 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.004525, allocations: 23.95 kB / 252.4 MB, free: 1.859 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.004641, allocations: 59.73 kB / 252.5 MB, free: 1.801 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.004813, allocations: 35.91 kB / 252.5 MB, free: 1.766 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.004954, allocations: 43.89 kB / 252.5 MB, free: 1.723 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.005012, allocations: 11.98 kB / 252.6 MB, free: 1.711 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.568e-05/0.005038, allocations: 8 kB / 252.6 MB, free: 1.703 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.005051, allocations: 7.938 kB / 252.6 MB, free: 1.695 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.56e-05/0.005076, allocations: 19.97 kB / 252.6 MB, free: 1.676 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.005116, allocations: 15.94 kB / 252.6 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.005267, allocations: 71.7 kB / 252.7 MB, free: 1.59 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005269, allocations: 0 / 252.7 MB, free: 1.59 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.005271, allocations: 0 / 252.7 MB, free: 1.59 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.005276, allocations: 0 / 252.7 MB, free: 1.59 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.0005979/0.005874, allocations: 310 kB / 253 MB, free: 1.258 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.005912, allocations: 8.031 kB / 253 MB, free: 1.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.005979, allocations: 16.89 kB / 253 MB, free: 1.234 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.006113, allocations: 113.7 kB / 253.1 MB, free: 1.098 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.006137, allocations: 8.375 kB / 253.1 MB, free: 1.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.006153, allocations: 12.31 kB / 253.1 MB, free: 1.078 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.006419, allocations: 110.5 kB / 253.2 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.006429, allocations: 192 / 253.2 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.006444, allocations: 4.375 kB / 253.3 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.006452, allocations: 3.938 kB / 253.3 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002172/0.006669, allocations: 59.89 kB / 253.3 MB, free: 0.8828 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007417/0.007411, allocations: 0.5869 MB / 253.9 MB, free: 256 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.007641, allocations: 113 kB / 254 MB, free: 96 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.007764, allocations: 48.34 kB / 254.1 MB, free: 32 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.007783, allocations: 4 kB / 254.1 MB, free: 28 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.031e-05/0.007844, allocations: 42.48 kB / 254.1 MB, free: 15.98 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.007845, allocations: 0 / 254.1 MB, free: 15.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.000498/0.008343, allocations: 121.5 kB / 254.2 MB, free: 15.85 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.008461, allocations: 162.2 kB / 254.4 MB, free: 15.66 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.008605, allocations: 125.7 kB / 254.5 MB, free: 15.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.008629, allocations: 25.7 kB / 254.5 MB, free: 15.49 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.97e-05/0.008709, allocations: 100.1 kB / 254.6 MB, free: 15.39 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.008735, allocations: 11.84 kB / 254.6 MB, free: 15.38 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.008785, allocations: 26.33 kB / 254.7 MB, free: 15.35 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.008973, allocations: 322.8 kB / 255 MB, free: 15.02 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.06e-05/0.009063, allocations: 19.98 kB / 255 MB, free: 15 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.009173, allocations: 52.27 kB / 255 MB, free: 14.94 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.009378, allocations: 80.2 kB / 255.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.00938, allocations: 4.125 kB / 255.1 MB, free: 14.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002875/0.009667, allocations: 105.5 kB / 255.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.009685, allocations: 6.656 kB / 255.2 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.009691, allocations: 4 kB / 255.2 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.009713, allocations: 0 / 255.2 MB, free: 14.72 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.009817, allocations: 11.98 kB / 255.3 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.009822, allocations: 8.156 kB / 255.3 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.098e-05/0.009893, allocations: 7.984 kB / 255.3 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.009904, allocations: 7.938 kB / 255.3 MB, free: 14.69 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 0.0001268/0.01003, allocations: 121.7 kB / 255.4 MB, free: 14.56 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-05/0.01012, allocations: 11.95 kB / 255.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.238e-05/0.01016, allocations: 15.58 kB / 255.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.01016, allocations: 4 kB / 255.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.01017, allocations: 3.984 kB / 255.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01017, allocations: 0 / 255.4 MB, free: 14.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.01055, allocations: 129.2 kB / 255.6 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01055, allocations: 4 kB / 255.6 MB, free: 14.36 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.508e-05/0.01063, allocations: 11.98 kB / 255.6 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.01063, allocations: 4 kB / 255.6 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.01064, allocations: 0 / 255.6 MB, free: 14.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.01065, allocations: 3.938 kB / 255.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.01065, allocations: 4 kB / 255.6 MB, free: 14.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004894/0.01114, allocations: 492.5 kB / 256.1 MB, free: 13.84 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.01116, allocations: 7.938 kB / 256.1 MB, free: 13.83 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.01117, allocations: 7.984 kB / 256.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.01141, allocations: 8 kB / 256.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/0.01147, allocations: 15.92 kB / 256.1 MB, free: 13.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.01148, allocations: 0 / 256.1 MB, free: 13.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.514e-05/0.01155, allocations: 91.27 kB / 256.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01155, allocations: 4 kB / 256.2 MB, free: 13.71 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004026/0.01195, allocations: 11.95 kB / 256.2 MB, free: 13.7 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 0.0001211/0.01208, allocations: 91.25 kB / 256.3 MB, free: 13.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.01235, allocations: 67.83 kB / 256.4 MB, free: 13.53 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.01235, allocations: 4 kB / 256.4 MB, free: 13.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01246, allocations: 27.92 kB / 256.4 MB, free: 13.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.013, allocations: 8 kB / 256.4 MB, free: 13.49 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/0.01352, allocations: 211.3 kB / 256.6 MB, free: 13.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.01363, allocations: 71.33 kB / 256.7 MB, free: 13.16 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.384e-05/0.01366, allocations: 4 kB / 256.7 MB, free: 13.15 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.0137, allocations: 12.5 kB / 256.7 MB, free: 13.14 MB / 250.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0137, allocations: 3.938 kB / 256.7 MB, free: 13.14 MB / 250.7 MB Notification: Performance of Templates: time 0.003198/0.0169, allocations: 0.55 MB / 257.3 MB, free: 12.59 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.402651482028887]