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.001432/0.001432, allocations: 98 kB / 18.39 MB, free: 4.664 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.0016/0.0016, allocations: 190.5 kB / 19.33 MB, free: 3.738 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.344/1.344, 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.00125/0.00125, allocations: 43.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09904, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003162/0.1022, allocations: 1.581 MB / 377.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008624/0.1031, allocations: 471.5 kB / 377.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.433e-05/0.1032, allocations: 0 / 377.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.1033, allocations: 15.88 kB / 377.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.424e-05/0.1034, allocations: 15.84 kB / 377.9 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.1036, allocations: 15.98 kB / 377.9 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1037, allocations: 67.72 kB / 378 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001897/0.1039, allocations: 43.95 kB / 378 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1041, allocations: 23.86 kB / 378 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.384e-05/0.1041, allocations: 31.84 kB / 378.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1042, allocations: 8 kB / 378.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.541e-05/0.1042, allocations: 11.94 kB / 378.1 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.1042, allocations: 11.98 kB / 378.1 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.541e-05/0.1043, allocations: 27.81 kB / 378.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1044, allocations: 79.64 kB / 378.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1044, allocations: 0 / 378.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1044, allocations: 0 / 378.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1045, allocations: 0 / 378.2 MB, free: 2.172 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.0005548/0.105, allocations: 371.3 kB / 378.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1051, allocations: 16.03 kB / 378.6 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.1051, allocations: 8.844 kB / 378.6 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1052, allocations: 172.2 kB / 378.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.1053, allocations: 384 / 378.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.1053, allocations: 12.31 kB / 378.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.1055, allocations: 118.2 kB / 378.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.1056, allocations: 4 kB / 378.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.1056, allocations: 7.938 kB / 378.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1056, allocations: 0 / 378.9 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.1058, allocations: 55.91 kB / 378.9 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006606/0.1064, allocations: 0.6458 MB / 379.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1066, allocations: 113.1 kB / 379.7 MB, free: 460 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1068, allocations: 64.33 kB / 379.8 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.1068, allocations: 3.938 kB / 379.8 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1068, allocations: 38.56 kB / 379.8 MB, free: 328 kB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1068, allocations: 0 / 379.8 MB, free: 328 kB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004495/0.1073, allocations: 121.4 kB / 379.9 MB, free: 200 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1074, allocations: 162.8 kB / 380.1 MB, free: 0 / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.177/0.2844, allocations: 126.5 kB / 380.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.2846, allocations: 26.89 kB / 380.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.861e-05/0.2847, allocations: 96.98 kB / 380.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.096e-05/0.2847, allocations: 15.14 kB / 380.3 MB, free: 12.87 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.2849, allocations: 21.05 kB / 380.4 MB, free: 12.85 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.285, allocations: 316.7 kB / 380.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.2852, allocations: 20.48 kB / 380.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.2854, allocations: 53.67 kB / 380.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.2856, allocations: 79.23 kB / 380.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2857, allocations: 0.7656 kB / 380.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000402/0.2861, allocations: 99.62 kB / 380.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.792e-05/0.2861, allocations: 6.438 kB / 380.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.2861, allocations: 1.375 kB / 380.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.221e-05/0.2862, allocations: 5.781 kB / 380.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.2864, allocations: 12.14 kB / 380.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.2864, allocations: 3.453 kB / 380.9 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.2865, allocations: 19.98 kB / 381 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.2865, allocations: 2.75 kB / 381 MB, free: 12.43 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 0.0001544/0.2867, allocations: 118 kB / 381.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.2869, allocations: 9.125 kB / 381.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.2869, allocations: 20.73 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.287, allocations: 4.062 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/0.287, allocations: 5.453 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.287, allocations: 1.375 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.2875, allocations: 182 kB / 381.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2875, allocations: 1.656 kB / 381.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.406e-05/0.2876, allocations: 12.8 kB / 381.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.2876, allocations: 1.438 kB / 381.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.2877, allocations: 8.281 kB / 381.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.2877, allocations: 2.969 kB / 381.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/0.2877, allocations: 5.516 kB / 381.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.2881, allocations: 492.7 kB / 381.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.631e-05/0.2881, allocations: 80.45 kB / 381.9 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.2882, allocations: 13.38 kB / 381.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.2884, allocations: 6.062 kB / 381.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.2885, allocations: 10.97 kB / 381.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.2885, allocations: 3.266 kB / 381.9 MB, free: 11.58 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.913e-05/0.2885, allocations: 93.61 kB / 382 MB, free: 11.51 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2885, allocations: 0 / 382 MB, free: 11.51 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004078/0.2889, allocations: 15.78 kB / 382 MB, free: 11.5 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 9.586e-05/0.289, allocations: 104.2 kB / 382.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.2893, allocations: 63.11 kB / 382.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2893, allocations: 4.875 kB / 382.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.566e-05/0.2894, allocations: 32.28 kB / 382.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.2899, allocations: 8.516 kB / 382.2 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.2904, allocations: 234.4 kB / 382.5 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000152/0.2905, allocations: 0.6899 MB / 383.2 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.2906, allocations: 11.03 kB / 383.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2906, allocations: 3.656 kB / 383.2 MB, free: 10.51 MB / 318.1 MB Notification: Performance of Templates: time 0.002887/0.2935, allocations: 0.8707 MB / 384 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