Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001347, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 205.2 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.491/1.491, allocations: 230.4 MB / 250 MB, free: 9.012 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 63.84 kB / 367.3 MB, free: 7.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.341, allocations: 53.31 MB / 420.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003819/0.3449, allocations: 1.621 MB / 422.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.346, allocations: 494.7 kB / 422.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.3461, allocations: 0 / 422.7 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.099e-05/0.3461, allocations: 11.88 kB / 422.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.3462, allocations: 11.86 kB / 422.8 MB, free: 6.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.3465, allocations: 35.89 kB / 422.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3467, allocations: 63.78 kB / 422.9 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002415/0.3469, allocations: 40.14 kB / 422.9 MB, free: 6.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.3471, allocations: 35.84 kB / 422.9 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.114e-05/0.3472, allocations: 27.84 kB / 423 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.3472, allocations: 8 kB / 423 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.515e-05/0.3473, allocations: 12 kB / 423 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.3473, allocations: 11.92 kB / 423 MB, free: 5.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.349e-05/0.3473, allocations: 27.88 kB / 423 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.3476, allocations: 75.58 kB / 423.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3476, allocations: 0 / 423.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3476, allocations: 4 kB / 423.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3476, allocations: 0 / 423.1 MB, free: 5.859 MB / 334.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.0006692/0.3482, allocations: 387.1 kB / 423.5 MB, free: 5.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3483, allocations: 12.03 kB / 423.5 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.3485, allocations: 16.88 kB / 423.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.3488, allocations: 188.2 kB / 423.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.3488, allocations: 4.375 kB / 423.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3488, allocations: 8.375 kB / 423.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.3492, allocations: 129.3 kB / 423.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3492, allocations: 3.938 kB / 423.8 MB, free: 5.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.3492, allocations: 4 kB / 423.8 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3492, allocations: 3.938 kB / 423.8 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.3494, allocations: 63.89 kB / 423.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.3503, allocations: 0.6303 MB / 424.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.3506, allocations: 117 kB / 424.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3507, allocations: 56.33 kB / 424.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.3508, allocations: 4 kB / 424.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.3508, allocations: 38.5 kB / 424.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3508, allocations: 0 / 424.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005909/0.3514, allocations: 121.6 kB / 424.9 MB, free: 3.852 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.3515, allocations: 162.2 kB / 425 MB, free: 3.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3517, allocations: 125.8 kB / 425.1 MB, free: 3.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/0.3517, allocations: 25.7 kB / 425.2 MB, free: 3.492 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.204e-05/0.3518, allocations: 96.56 kB / 425.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3518, allocations: 27.81 kB / 425.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.3519, allocations: 21.72 kB / 425.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.352, allocations: 318.8 kB / 425.6 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.3521, allocations: 19.98 kB / 425.6 MB, free: 3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.3522, allocations: 48.28 kB / 425.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.3524, allocations: 80.2 kB / 425.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3524, allocations: 0 / 425.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002355/0.3526, allocations: 101.5 kB / 425.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3526, allocations: 11.98 kB / 425.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3527, allocations: 0 / 425.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3527, allocations: 0 / 425.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.3528, allocations: 12 kB / 425.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3528, allocations: 0 / 425.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.291e-05/0.3528, allocations: 16.08 kB / 425.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.3529, allocations: 8 kB / 425.9 MB, free: 2.691 MB / 334.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 9.7e-05/0.353, allocations: 113.8 kB / 426 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/0.353, allocations: 11.89 kB / 426 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.3531, allocations: 19.47 kB / 426.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3531, allocations: 3.938 kB / 426.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3531, allocations: 4 kB / 426.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3531, allocations: 3.938 kB / 426.1 MB, free: 2.523 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.3535, allocations: 189.5 kB / 426.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3535, allocations: 0 / 426.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.3536, allocations: 20.11 kB / 426.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3536, allocations: 3.938 kB / 426.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.3536, allocations: 4 kB / 426.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3536, allocations: 4 kB / 426.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3536, allocations: 0 / 426.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.354, allocations: 496.5 kB / 426.8 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.3541, allocations: 81.06 kB / 426.8 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.3541, allocations: 11.98 kB / 426.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.3543, allocations: 4 kB / 426.9 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.3544, allocations: 11.92 kB / 426.9 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.3544, allocations: 8 kB / 426.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.3544, allocations: 95.27 kB / 427 MB, free: 1.527 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3544, allocations: 0 / 427 MB, free: 1.527 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003945/0.3548, allocations: 8 kB / 427 MB, free: 1.52 MB / 334.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 0.0001251/0.355, allocations: 99.19 kB / 427.1 MB, free: 1.414 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3552, allocations: 64.08 kB / 427.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3552, allocations: 0 / 427.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3553, allocations: 31.92 kB / 427.2 MB, free: 1.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.3558, allocations: 8 kB / 427.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.3563, allocations: 203 kB / 427.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3567, allocations: 0.6924 MB / 428.1 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.274e-05/0.3567, allocations: 7.969 kB / 428.1 MB, free: 360 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.3568, allocations: 11.44 kB / 428.1 MB, free: 348 kB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3568, allocations: 0 / 428.1 MB, free: 348 kB / 334.1 MB Notification: Performance of Templates: time 0.003336/0.3601, allocations: 0.56 MB / 428.7 MB, free: 15.78 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches