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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 110.7 kB / 18.41 MB, free: 4.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 186 kB / 19.34 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.288/1.288, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 51.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07081/0.07202, allocations: 46.63 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002514/0.07457, allocations: 1.587 MB / 377.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006381/0.07522, allocations: 459.5 kB / 377.9 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.07528, allocations: 4 kB / 377.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.07534, allocations: 15.86 kB / 377.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.277e-05/0.07541, allocations: 11.86 kB / 377.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001299/0.07555, allocations: 27.97 kB / 377.9 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.07565, allocations: 63.72 kB / 378 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.07581, allocations: 35.98 kB / 378 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.928e-05/0.07591, allocations: 39.78 kB / 378 MB, free: 2.328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.597e-05/0.07598, allocations: 27.84 kB / 378.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.07601, allocations: 12 kB / 378.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.07603, allocations: 4 kB / 378.1 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.07606, allocations: 7.938 kB / 378.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.709e-05/0.0761, allocations: 27.86 kB / 378.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001148/0.07622, allocations: 71.66 kB / 378.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.07623, allocations: 0 / 378.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.07624, allocations: 0 / 378.2 MB, free: 2.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.07625, allocations: 0 / 378.2 MB, free: 2.18 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.0004559/0.07671, allocations: 383.2 kB / 378.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.07675, allocations: 12.03 kB / 378.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.07678, allocations: 8.891 kB / 378.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.07691, allocations: 180.2 kB / 378.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.07693, allocations: 8.375 kB / 378.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.07695, allocations: 4.375 kB / 378.8 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.07717, allocations: 114.3 kB / 378.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.07719, allocations: 0 / 378.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.0772, allocations: 3.938 kB / 378.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.07721, allocations: 3.984 kB / 378.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.07739, allocations: 59.89 kB / 379 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.07798, allocations: 0.642 MB / 379.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.07815, allocations: 117 kB / 379.7 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.07827, allocations: 64.34 kB / 379.8 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.07829, allocations: 3.938 kB / 379.8 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.07832, allocations: 42.55 kB / 379.8 MB, free: 320 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.07833, allocations: 0 / 379.8 MB, free: 320 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004323/0.07876, allocations: 125.4 kB / 379.9 MB, free: 188 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.144/0.2228, allocations: 159.3 kB / 380.1 MB, free: 13.05 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.223, allocations: 121.1 kB / 380.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.223, allocations: 26.67 kB / 380.2 MB, free: 12.92 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.223, allocations: 94.66 kB / 380.3 MB, free: 12.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.2231, allocations: 16.66 kB / 380.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.2231, allocations: 26.27 kB / 380.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.2232, allocations: 321 kB / 380.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.2233, allocations: 20.31 kB / 380.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/0.2234, allocations: 52.58 kB / 380.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2236, allocations: 81.59 kB / 380.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2236, allocations: 1.375 kB / 380.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002443/0.2238, allocations: 100.2 kB / 380.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2238, allocations: 7.094 kB / 380.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2239, allocations: 1.375 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.2239, allocations: 1.375 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.224, allocations: 13.22 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.224, allocations: 6.922 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.2241, allocations: 9.234 kB / 381 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2241, allocations: 3.266 kB / 381 MB, free: 12.39 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 6.287e-05/0.2242, allocations: 119.3 kB / 381.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.2243, allocations: 11.36 kB / 381.1 MB, free: 12.28 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.2243, allocations: 14 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2243, allocations: 6.297 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2243, allocations: 5.062 kB / 381.1 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.2243, allocations: 82.59 kB / 381.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2244, allocations: 1.375 kB / 381.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.2246, allocations: 7.938 kB / 381.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.2247, allocations: 10.23 kB / 381.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002867/0.2249, allocations: 488.3 kB / 381.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002539/0.2252, allocations: 0.5563 MB / 382.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001014/0.2253, allocations: 30.97 kB / 382.3 MB, free: 11.26 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.188e-05/0.2254, allocations: 92.31 kB / 382.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of Backend: time 7.01e-07/0.2254, allocations: 0 / 382.4 MB, free: 11.19 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.2261, allocations: 108.4 kB / 382.5 MB, free: 11.12 MB / 318.1 MB Notification: Performance of SimCode: time 0.0003605/0.2265, allocations: 0.6249 MB / 383.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of Templates: time 0.002813/0.2293, allocations: 0.7192 MB / 383.8 MB, free: 10.47 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile (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) 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) Reference file matches