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.001101/0.001101, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.001103/0.001104, allocations: 185.2 kB / 19.33 MB, free: 3.762 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.299/1.299, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001087/0.001087, allocations: 55.92 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.0802, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002796/0.08304, allocations: 1.585 MB / 377.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007352/0.08379, allocations: 475.5 kB / 377.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.08388, allocations: 0 / 377.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.093e-05/0.08394, allocations: 11.88 kB / 377.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.577e-05/0.08404, allocations: 11.86 kB / 377.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.08419, allocations: 23.91 kB / 377.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.0843, allocations: 63.78 kB / 378 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.08448, allocations: 39.97 kB / 378 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.08459, allocations: 31.8 kB / 378 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.08467, allocations: 31.84 kB / 378.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.0847, allocations: 4 kB / 378.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.08472, allocations: 4 kB / 378.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.08474, allocations: 12 kB / 378.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.08479, allocations: 31.8 kB / 378.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.08493, allocations: 71.66 kB / 378.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.08494, allocations: 0 / 378.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.08495, allocations: 4 kB / 378.2 MB, free: 2.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.08496, allocations: 0 / 378.2 MB, free: 2.184 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.0004989/0.08546, allocations: 379.3 kB / 378.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.08551, allocations: 12.03 kB / 378.6 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.573e-05/0.08555, allocations: 8.844 kB / 378.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.08568, allocations: 176.2 kB / 378.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.0857, allocations: 384 / 378.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.08572, allocations: 8.375 kB / 378.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.08595, allocations: 114.3 kB / 378.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.08597, allocations: 3.938 kB / 378.9 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.08599, allocations: 4 kB / 378.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.086, allocations: 3.984 kB / 378.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.08617, allocations: 59.89 kB / 378.9 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.08681, allocations: 0.6419 MB / 379.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.08699, allocations: 113.1 kB / 379.7 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.08711, allocations: 64.27 kB / 379.8 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.08713, allocations: 11.94 kB / 379.8 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.08716, allocations: 34.56 kB / 379.8 MB, free: 336 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.08717, allocations: 0 / 379.8 MB, free: 336 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004253/0.0876, allocations: 129.9 kB / 379.9 MB, free: 200 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.08768, allocations: 154.2 kB / 380.1 MB, free: 8 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1628/0.2505, allocations: 128.4 kB / 380.2 MB, free: 12.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.2505, allocations: 27.14 kB / 380.2 MB, free: 12.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.2506, allocations: 95.88 kB / 380.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.2506, allocations: 13.06 kB / 380.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.2507, allocations: 20.5 kB / 380.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.2507, allocations: 318.5 kB / 380.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.2508, allocations: 21.52 kB / 380.7 MB, free: 12.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.554e-05/0.2509, allocations: 53.75 kB / 380.7 MB, free: 12.51 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.2511, allocations: 77.88 kB / 380.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2511, allocations: 6.266 kB / 380.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002325/0.2513, allocations: 101.6 kB / 380.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2514, allocations: 5.375 kB / 380.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.2514, allocations: 2.609 kB / 380.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2514, allocations: 1.344 kB / 380.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2515, allocations: 18.11 kB / 380.9 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.2515, allocations: 5.234 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.124e-05/0.2516, allocations: 13.11 kB / 381 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.2516, allocations: 3.031 kB / 381 MB, free: 12.44 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.841e-05/0.2517, allocations: 121.4 kB / 381.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2518, allocations: 9.438 kB / 381.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.2518, allocations: 18.19 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2518, allocations: 2.891 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2519, allocations: 5.094 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2519, allocations: 1.734 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.2522, allocations: 182.5 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2522, allocations: 1.281 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.366e-05/0.2523, allocations: 11.47 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2523, allocations: 1.062 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2523, allocations: 9.875 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2523, allocations: 2.688 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2523, allocations: 6.875 kB / 381.3 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.2526, allocations: 487.4 kB / 381.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.2526, allocations: 84.64 kB / 381.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.2527, allocations: 5.875 kB / 381.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.2529, allocations: 13.31 kB / 381.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.2529, allocations: 9.625 kB / 381.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2529, allocations: 2.75 kB / 381.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.555e-05/0.253, allocations: 92.88 kB / 382 MB, free: 11.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.253, allocations: 0 / 382 MB, free: 11.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003694/0.2534, allocations: 17.28 kB / 382 MB, free: 11.52 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.027e-05/0.2534, allocations: 101.3 kB / 382.1 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.2537, allocations: 59.34 kB / 382.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2537, allocations: 3.5 kB / 382.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.848e-05/0.2538, allocations: 38.58 kB / 382.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.2543, allocations: 7.953 kB / 382.2 MB, free: 11.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.2547, allocations: 228.3 kB / 382.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.2548, allocations: 0.6898 MB / 383.1 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.602e-05/0.2549, allocations: 14.34 kB / 383.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.2549, allocations: 5.312 kB / 383.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of Templates: time 0.002331/0.2572, allocations: 0.8695 MB / 384 MB, free: 10.48 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