Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage") translateModel(Modelica.Blocks.Examples.BusUsage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009335/0.0009337, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.4 MB / 222.9 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007288/0.0007286, allocations: 94.34 kB / 271.2 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005062, allocations: 12 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3064, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001447/0.3079, allocations: 1.284 MB / 376.4 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005357/0.3085, allocations: 439.4 kB / 376.8 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.3085, allocations: 2.25 kB / 376.8 MB, free: 44.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.3086, allocations: 9.016 kB / 376.8 MB, free: 44.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.52e-05/0.3087, allocations: 13.11 kB / 376.8 MB, free: 44.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001248/0.3088, allocations: 15.05 kB / 376.8 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.101e-05/0.3089, allocations: 60.06 kB / 376.9 MB, free: 43.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.309, allocations: 43.41 kB / 376.9 MB, free: 43.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.549e-05/0.3091, allocations: 24.05 kB / 377 MB, free: 43.94 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.685e-05/0.3092, allocations: 22.52 kB / 377 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3092, allocations: 1.375 kB / 377 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.3092, allocations: 1.312 kB / 377 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.3093, allocations: 1.906 kB / 377 MB, free: 43.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.633e-05/0.3093, allocations: 55.19 kB / 377 MB, free: 43.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.176e-05/0.3094, allocations: 45.06 kB / 377.1 MB, free: 43.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3094, allocations: 1.125 kB / 377.1 MB, free: 43.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3094, allocations: 0 / 377.1 MB, free: 43.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.3094, allocations: 0 / 377.1 MB, free: 43.84 MB / 298.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.0003711/0.3098, allocations: 371.2 kB / 377.4 MB, free: 43.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3098, allocations: 9.062 kB / 377.4 MB, free: 43.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.3099, allocations: 8.281 kB / 377.5 MB, free: 43.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.325e-05/0.31, allocations: 188.4 kB / 377.6 MB, free: 43.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.31, allocations: 6.562 kB / 377.6 MB, free: 43.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.31, allocations: 4.438 kB / 377.7 MB, free: 43.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3102, allocations: 118.5 kB / 377.8 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.3102, allocations: 5.531 kB / 377.8 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.3103, allocations: 7.984 kB / 377.8 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3103, allocations: 2.25 kB / 377.8 MB, free: 43.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3104, allocations: 64.17 kB / 377.8 MB, free: 43.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004805/0.3109, allocations: 0.6405 MB / 378.5 MB, free: 42.42 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3111, allocations: 121.3 kB / 378.6 MB, free: 42.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.739e-05/0.3112, allocations: 61 kB / 378.7 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.3112, allocations: 5.156 kB / 378.7 MB, free: 42.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.792e-05/0.3112, allocations: 40.77 kB / 378.7 MB, free: 42.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.3112, allocations: 0 / 378.7 MB, free: 42.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004163/0.3117, allocations: 139.9 kB / 378.8 MB, free: 42.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.3117, allocations: 161 kB / 379 MB, free: 41.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.788e-05/0.3118, allocations: 119.2 kB / 379.1 MB, free: 41.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.3118, allocations: 27.48 kB / 379.1 MB, free: 41.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.144e-05/0.3118, allocations: 99.06 kB / 379.2 MB, free: 41.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.3119, allocations: 14.19 kB / 379.3 MB, free: 41.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.3119, allocations: 4 kB / 379.3 MB, free: 41.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.3119, allocations: 320.1 kB / 379.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.754e-05/0.312, allocations: 25.73 kB / 379.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/0.3121, allocations: 50.53 kB / 379.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001624/0.3123, allocations: 102.9 kB / 379.7 MB, free: 41.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3123, allocations: 0 / 379.7 MB, free: 41.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002067/0.3125, allocations: 114.6 kB / 379.9 MB, free: 41.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3125, allocations: 4.625 kB / 379.9 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3125, allocations: 5.5 kB / 379.9 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3125, allocations: 2.562 kB / 379.9 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.636e-05/0.3126, allocations: 9.812 kB / 379.9 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3127, allocations: 6.672 kB / 379.9 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.455e-05/0.3127, allocations: 10.91 kB / 379.9 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3128, allocations: 6.938 kB / 379.9 MB, free: 41.11 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.3128, allocations: 122 kB / 380 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.3129, allocations: 12.2 kB / 380 MB, free: 40.97 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.3129, allocations: 13.48 kB / 380 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.313, allocations: 2.312 kB / 380.1 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.313, allocations: 1.031 kB / 380.1 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.313, allocations: 9.969 kB / 380.1 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003053/0.3133, allocations: 184.8 kB / 380.2 MB, free: 40.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3133, allocations: 1.156 kB / 380.2 MB, free: 40.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.66e-05/0.3134, allocations: 18.45 kB / 380.3 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3134, allocations: 2.25 kB / 380.3 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3134, allocations: 5.938 kB / 380.3 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3134, allocations: 1 kB / 380.3 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3134, allocations: 2.25 kB / 380.3 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3137, allocations: 0.4904 MB / 380.8 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.3137, allocations: 83.8 kB / 380.8 MB, free: 40.17 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.3138, allocations: 6.141 kB / 380.9 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.314, allocations: 11.78 kB / 380.9 MB, free: 40.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.314, allocations: 11.33 kB / 380.9 MB, free: 40.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.314, allocations: 7.062 kB / 380.9 MB, free: 40.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.215e-05/0.3141, allocations: 100.2 kB / 381 MB, free: 40.06 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3141, allocations: 0 / 381 MB, free: 40.06 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003446/0.3144, allocations: 8.656 kB / 381 MB, free: 40.06 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.317e-05/0.3145, allocations: 92.94 kB / 381.1 MB, free: 39.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.3147, allocations: 71.55 kB / 381.1 MB, free: 39.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3147, allocations: 4 kB / 381.2 MB, free: 39.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.845e-05/0.3148, allocations: 40.7 kB / 381.2 MB, free: 39.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.3153, allocations: 7.625 kB / 381.2 MB, free: 39.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.3157, allocations: 262.5 kB / 381.5 MB, free: 39.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.3158, allocations: 0.6907 MB / 382.1 MB, free: 38.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.3159, allocations: 10.62 kB / 382.2 MB, free: 38.96 MB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3159, allocations: 0 / 382.2 MB, free: 38.96 MB / 298.7 MB Notification: Performance of Templates: time 0.001875/0.3178, allocations: 0.8658 MB / 383 MB, free: 38.52 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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","../files/Modelica_3.2.3_cpp_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches