Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001563/0.001563, allocations: 178.5 kB / 17.36 MB, free: 4.324 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.6 MB / 223.7 MB, free: 8.957 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008387/0.0008387, allocations: 92.12 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002865, allocations: 8 kB / 329 MB, free: 15.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2396, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.001722/0.2414, allocations: 1.288 MB / 377.9 MB, free: 44.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006158/0.2421, allocations: 444.4 kB / 378.3 MB, free: 44.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.2421, allocations: 2.094 kB / 378.3 MB, free: 44.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.826e-05/0.2422, allocations: 5.062 kB / 378.3 MB, free: 44.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.2423, allocations: 9.031 kB / 378.3 MB, free: 44.19 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.2424, allocations: 19.14 kB / 378.4 MB, free: 44.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.066e-05/0.2425, allocations: 62.34 kB / 378.4 MB, free: 44.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.2427, allocations: 43.95 kB / 378.5 MB, free: 44.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.645e-05/0.2428, allocations: 20.14 kB / 378.5 MB, free: 44.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.045e-05/0.2428, allocations: 26.05 kB / 378.5 MB, free: 44.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.2429, allocations: 1.156 kB / 378.5 MB, free: 44.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.2429, allocations: 1.281 kB / 378.5 MB, free: 44.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.2429, allocations: 14.3 kB / 378.5 MB, free: 44.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.243, allocations: 51.72 kB / 378.6 MB, free: 44.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.777e-05/0.2431, allocations: 56.61 kB / 378.6 MB, free: 43.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.2431, allocations: 1.406 kB / 378.6 MB, free: 43.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2431, allocations: 3.938 kB / 378.6 MB, free: 43.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.2431, allocations: 0 / 378.6 MB, free: 43.97 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.0003927/0.2435, allocations: 371.6 kB / 379 MB, free: 43.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2435, allocations: 13.03 kB / 379 MB, free: 43.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2436, allocations: 8.906 kB / 379 MB, free: 43.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.29e-05/0.2437, allocations: 176.2 kB / 379.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2437, allocations: 3.625 kB / 379.2 MB, free: 43.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.2437, allocations: 7.562 kB / 379.2 MB, free: 43.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.2439, allocations: 126.7 kB / 379.3 MB, free: 43.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.244, allocations: 1.062 kB / 379.3 MB, free: 43.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.244, allocations: 1.125 kB / 379.3 MB, free: 43.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.244, allocations: 2.312 kB / 379.3 MB, free: 43.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001852/0.2442, allocations: 70.83 kB / 379.4 MB, free: 43.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.2447, allocations: 0.6445 MB / 380 MB, free: 42.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.2449, allocations: 122.1 kB / 380.2 MB, free: 42.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.245, allocations: 55.72 kB / 380.2 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.245, allocations: 6.031 kB / 380.2 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.2451, allocations: 36.62 kB / 380.3 MB, free: 42.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.2451, allocations: 0 / 380.3 MB, free: 42.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004278/0.2455, allocations: 139.5 kB / 380.4 MB, free: 42.24 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.2456, allocations: 164.4 kB / 380.6 MB, free: 42.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.2456, allocations: 119.8 kB / 380.7 MB, free: 41.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.2457, allocations: 25.7 kB / 380.7 MB, free: 41.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.2457, allocations: 100.2 kB / 380.8 MB, free: 41.8 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.2457, allocations: 18.22 kB / 380.8 MB, free: 41.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-06/0.2457, allocations: 0 / 380.8 MB, free: 41.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.2458, allocations: 317.1 kB / 381.1 MB, free: 41.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.134e-05/0.2459, allocations: 28.03 kB / 381.1 MB, free: 41.46 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.246, allocations: 56.06 kB / 381.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.2461, allocations: 90.45 kB / 381.3 MB, free: 41.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2461, allocations: 0 / 381.3 MB, free: 41.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002016/0.2463, allocations: 110.6 kB / 381.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2464, allocations: 5.5 kB / 381.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.2464, allocations: 5.344 kB / 381.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2464, allocations: 1.25 kB / 381.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.641e-05/0.2465, allocations: 14.73 kB / 381.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2465, allocations: 1.969 kB / 381.4 MB, free: 41.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.2466, allocations: 22.8 kB / 381.4 MB, free: 41.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.2466, allocations: 2.594 kB / 381.4 MB, free: 41.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.124e-05/0.2467, allocations: 126.7 kB / 381.6 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.9e-05/0.2468, allocations: 8.031 kB / 381.6 MB, free: 41.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.2468, allocations: 17.91 kB / 381.6 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2468, allocations: 2.531 kB / 381.6 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.2468, allocations: 1.188 kB / 381.6 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2468, allocations: 5.031 kB / 381.6 MB, free: 41.1 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.2471, allocations: 188.7 kB / 381.8 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.2471, allocations: 9.234 kB / 381.8 MB, free: 40.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.2472, allocations: 15.8 kB / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.2472, allocations: 1.25 kB / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.2472, allocations: 1.312 kB / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2472, allocations: 2.719 kB / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2472, allocations: 5.188 kB / 381.8 MB, free: 40.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.2475, allocations: 498.4 kB / 382.3 MB, free: 40.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.979e-05/0.2475, allocations: 83.8 kB / 382.4 MB, free: 40.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.2476, allocations: 10.53 kB / 382.4 MB, free: 40.3 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.2478, allocations: 10.77 kB / 382.4 MB, free: 40.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.2478, allocations: 16.11 kB / 382.4 MB, free: 40.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.2478, allocations: 3 kB / 382.4 MB, free: 40.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.065e-05/0.2479, allocations: 91.47 kB / 382.5 MB, free: 40.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2479, allocations: 0 / 382.5 MB, free: 40.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000326/0.2482, allocations: 13.31 kB / 382.5 MB, free: 40.2 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 (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.664e-05/0.2483, allocations: 110.9 kB / 382.6 MB, free: 40.1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.2485, allocations: 62.78 kB / 382.7 MB, free: 40.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2485, allocations: 320 / 382.7 MB, free: 40.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/0.2486, allocations: 48.44 kB / 382.8 MB, free: 40.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.2491, allocations: 8.25 kB / 382.8 MB, free: 40.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.2495, allocations: 234.7 kB / 383 MB, free: 39.83 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.2496, allocations: 0.6911 MB / 383.7 MB, free: 39.13 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.2497, allocations: 5.125 kB / 383.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.476e-05/0.2497, allocations: 9.656 kB / 383.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2497, allocations: 1.062 kB / 383.7 MB, free: 39.12 MB / 298.7 MB Notification: Performance of Templates: time 0.002097/0.2518, allocations: 450.4 kB / 384.1 MB, free: 38.89 MB / 298.7 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/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_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches