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.0007974/0.0007974, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.000758/0.000758, allocations: 160.4 kB / 25.45 MB, free: 9.352 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.9135/0.9135, allocations: 158.6 MB / 187.2 MB, free: 3.051 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 1.623e-06/1.623e-06, allocations: 0 / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.995e-05/4.158e-05, allocations: 6.219 kB / 299.7 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003285/0.003326, allocations: 1.569 MB / 301.3 MB, free: 5.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.004314, allocations: 447.8 kB / 301.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.004418, allocations: 0 / 301.7 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.619e-05/0.004485, allocations: 11.88 kB / 301.7 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.004618, allocations: 11.86 kB / 301.7 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.00489, allocations: 19.97 kB / 301.7 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.005015, allocations: 59.78 kB / 301.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.005263, allocations: 43.84 kB / 301.8 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.005459, allocations: 35.91 kB / 301.9 MB, free: 4.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.005546, allocations: 19.97 kB / 301.9 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.106e-05/0.005587, allocations: 4 kB / 301.9 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.389e-05/0.005601, allocations: 4 kB / 301.9 MB, free: 4.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.044e-05/0.005632, allocations: 15.92 kB / 301.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.005678, allocations: 23.92 kB / 301.9 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.005862, allocations: 67.72 kB / 302 MB, free: 4.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.005868, allocations: 0 / 302 MB, free: 4.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.459e-06/0.005873, allocations: 3.984 kB / 302 MB, free: 4.57 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.005881, allocations: 4 kB / 302 MB, free: 4.566 MB / 282.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.0006685/0.006549, allocations: 302.1 kB / 302.3 MB, free: 4.242 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.006614, allocations: 16.02 kB / 302.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.006676, allocations: 8.891 kB / 302.3 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.006835, allocations: 121.6 kB / 302.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.006879, allocations: 4.375 kB / 302.5 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.006899, allocations: 12.31 kB / 302.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.007143, allocations: 110.5 kB / 302.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.007159, allocations: 4.125 kB / 302.6 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.007174, allocations: 8.312 kB / 302.6 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.007183, allocations: 7.938 kB / 302.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.007316, allocations: 55.89 kB / 302.7 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007332/0.008049, allocations: 0.5675 MB / 303.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.008234, allocations: 109 kB / 303.3 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.091e-05/0.008325, allocations: 64.33 kB / 303.4 MB, free: 3.012 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.008354, allocations: 4 kB / 303.4 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.008392, allocations: 34.56 kB / 303.4 MB, free: 2.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.675e-06/0.008395, allocations: 4 kB / 303.4 MB, free: 2.961 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004004/0.008795, allocations: 125.9 kB / 303.6 MB, free: 2.832 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/0.008894, allocations: 158.3 kB / 303.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.00902, allocations: 125.8 kB / 303.8 MB, free: 2.508 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.009035, allocations: 25.7 kB / 303.9 MB, free: 2.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.009091, allocations: 92.09 kB / 303.9 MB, free: 2.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.619e-05/0.009127, allocations: 23.81 kB / 304 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.009178, allocations: 21.72 kB / 304 MB, free: 2.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.009296, allocations: 322.8 kB / 304.3 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.009365, allocations: 19.98 kB / 304.3 MB, free: 1.988 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.177e-05/0.009427, allocations: 48.28 kB / 304.4 MB, free: 1.926 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.009559, allocations: 88.14 kB / 304.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.009563, allocations: 0 / 304.5 MB, free: 1.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001606/0.009723, allocations: 97.58 kB / 304.6 MB, free: 1.723 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.009742, allocations: 4 kB / 304.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.009751, allocations: 3.984 kB / 304.6 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.009775, allocations: 7.984 kB / 304.6 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.009884, allocations: 11.94 kB / 304.6 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.009901, allocations: 4 kB / 304.6 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.009942, allocations: 7.984 kB / 304.6 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.009956, allocations: 8 kB / 304.6 MB, free: 1.676 MB / 282.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.0001175/0.01007, allocations: 121.9 kB / 304.7 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.01015, allocations: 7.953 kB / 304.7 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.01019, allocations: 19.5 kB / 304.7 MB, free: 1.523 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.0102, allocations: 4 kB / 304.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.0102, allocations: 0 / 304.8 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.01021, allocations: 4 kB / 304.8 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.01047, allocations: 125.2 kB / 304.9 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01047, allocations: 3.938 kB / 304.9 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.01053, allocations: 19.92 kB / 304.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.01054, allocations: 0 / 304.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.01055, allocations: 0 / 304.9 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.01055, allocations: 8 kB / 304.9 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.217e-06/0.01055, allocations: 3.984 kB / 304.9 MB, free: 1.328 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.01091, allocations: 492.5 kB / 305.4 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.01093, allocations: 8.141 kB / 305.4 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.01094, allocations: 7.938 kB / 305.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.01107, allocations: 8 kB / 305.4 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.01113, allocations: 11.98 kB / 305.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.01114, allocations: 0 / 305.4 MB, free: 0.793 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.456e-05/0.01119, allocations: 99.27 kB / 305.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01119, allocations: 0 / 305.5 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.01146, allocations: 8 kB / 305.5 MB, free: 0.6875 MB / 282.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.0001535/0.01161, allocations: 95.25 kB / 305.6 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.01181, allocations: 59.83 kB / 305.7 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01181, allocations: 8.25 kB / 305.7 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/0.01186, allocations: 27.98 kB / 305.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.01223, allocations: 15.64 kB / 305.7 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.01269, allocations: 221.8 kB / 306 MB, free: 224 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.802e-05/0.01278, allocations: 75.33 kB / 306 MB, free: 128 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.01282, allocations: 12.81 kB / 306 MB, free: 116 kB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01282, allocations: 4 kB / 306 MB, free: 112 kB / 282.7 MB Notification: Performance of Templates: time 0.002597/0.01541, allocations: 0.8947 MB / 306.9 MB, free: 15.21 MB / 298.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.567332083359361]