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.001859/0.001859, allocations: 120.5 kB / 21.94 MB, free: 8 kB / 14.72 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.002105/0.002105, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 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.542/1.542, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 55.92 kB / 348.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3017, allocations: 49.17 MB / 397.6 MB, free: 9.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002702/0.3044, allocations: 1.598 MB / 399.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007332/0.3051, allocations: 485.4 kB / 399.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.3051, allocations: 1.344 kB / 399.7 MB, free: 8.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.911e-05/0.3052, allocations: 10.38 kB / 399.7 MB, free: 8.055 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.203e-05/0.3053, allocations: 14.64 kB / 399.7 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.3054, allocations: 16.3 kB / 399.7 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.3055, allocations: 58.62 kB / 399.8 MB, free: 8.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.3057, allocations: 42.72 kB / 399.8 MB, free: 7.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.3058, allocations: 28.89 kB / 399.8 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.3059, allocations: 29.33 kB / 399.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.3059, allocations: 5.25 kB / 399.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.347e-05/0.306, allocations: 5 kB / 399.9 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.306, allocations: 17.14 kB / 399.9 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.306, allocations: 28.05 kB / 399.9 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.3062, allocations: 81.75 kB / 400 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.3062, allocations: 0.7031 kB / 400 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3062, allocations: 0 / 400 MB, free: 7.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3062, allocations: 0 / 400 MB, free: 7.883 MB / 318.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.0004524/0.3066, allocations: 300.6 kB / 400.3 MB, free: 7.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3067, allocations: 10.44 kB / 400.3 MB, free: 7.602 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.906e-05/0.3067, allocations: 7.984 kB / 400.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.653e-05/0.3068, allocations: 121.1 kB / 400.4 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.3068, allocations: 7.281 kB / 400.4 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.56e-05/0.3068, allocations: 13.23 kB / 400.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.3071, allocations: 110.5 kB / 400.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3071, allocations: 0 / 400.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3071, allocations: 9.125 kB / 400.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3071, allocations: 3.328 kB / 400.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.3073, allocations: 57.88 kB / 400.6 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.3078, allocations: 0.6129 MB / 401.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.3079, allocations: 117.5 kB / 401.4 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.211e-05/0.308, allocations: 52.7 kB / 401.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3081, allocations: 2.531 kB / 401.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.3081, allocations: 40.12 kB / 401.4 MB, free: 6.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3081, allocations: 1.594 kB / 401.5 MB, free: 6.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004457/0.3085, allocations: 121.8 kB / 401.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3086, allocations: 161 kB / 401.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.3087, allocations: 132.9 kB / 401.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-06/0.3087, allocations: 30.33 kB / 401.9 MB, free: 6.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.892e-05/0.3087, allocations: 98.83 kB / 402 MB, free: 5.996 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.3087, allocations: 18.94 kB / 402 MB, free: 5.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.3088, allocations: 21.19 kB / 402 MB, free: 5.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.731e-05/0.3088, allocations: 314.3 kB / 402.3 MB, free: 5.648 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.863e-05/0.3089, allocations: 24.84 kB / 402.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-05/0.309, allocations: 56.61 kB / 402.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.3091, allocations: 75.33 kB / 402.5 MB, free: 5.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3091, allocations: 4 kB / 402.5 MB, free: 5.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002056/0.3093, allocations: 101.3 kB / 402.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3093, allocations: 5.688 kB / 402.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3094, allocations: 1.781 kB / 402.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.3094, allocations: 1.125 kB / 402.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.3095, allocations: 12.47 kB / 402.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3095, allocations: 2.109 kB / 402.6 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.3096, allocations: 15.33 kB / 402.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3096, allocations: 2.922 kB / 402.6 MB, free: 5.473 MB / 318.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 7.48e-05/0.3096, allocations: 120.1 kB / 402.7 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.3097, allocations: 12.22 kB / 402.8 MB, free: 5.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.968e-05/0.3098, allocations: 15.38 kB / 402.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3098, allocations: 1.312 kB / 402.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3098, allocations: 2.438 kB / 402.8 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3098, allocations: 5.781 kB / 402.8 MB, free: 5.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.3101, allocations: 156.5 kB / 402.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3101, allocations: 1.281 kB / 402.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.752e-05/0.3102, allocations: 11.5 kB / 402.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.3102, allocations: 1.875 kB / 402.9 MB, free: 5.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3102, allocations: 6.5 kB / 403 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3102, allocations: 2 kB / 403 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3102, allocations: 1.531 kB / 403 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.3105, allocations: 498.2 kB / 403.4 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.3105, allocations: 11.44 kB / 403.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.3105, allocations: 3.734 kB / 403.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.3107, allocations: 10.75 kB / 403.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.3108, allocations: 17.83 kB / 403.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.3108, allocations: 3.609 kB / 403.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.481e-05/0.3108, allocations: 90.41 kB / 403.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3108, allocations: 0 / 403.6 MB, free: 4.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.3112, allocations: 13.22 kB / 403.6 MB, free: 4.59 MB / 318.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 8.107e-05/0.3113, allocations: 100.9 kB / 403.7 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.3115, allocations: 59.83 kB / 403.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3115, allocations: 1.188 kB / 403.7 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.3116, allocations: 32.14 kB / 403.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.3121, allocations: 7.719 kB / 403.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.3125, allocations: 244.9 kB / 404 MB, free: 4.238 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3127, allocations: 0.6901 MB / 404.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.3127, allocations: 10.62 kB / 404.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3127, allocations: 1.219 kB / 404.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of Templates: time 0.002837/0.3156, allocations: 0.8742 MB / 405.6 MB, free: 3.461 MB / 318.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/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: 7.319360611960292]