Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_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.001082/0.001082, allocations: 112.5 kB / 17.68 MB, free: 5.469 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.0009846/0.0009846, allocations: 192 kB / 18.61 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009623/0.0009623, allocations: 55.12 kB / 302 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09386, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002693/0.0966, allocations: 1.583 MB / 353.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006122/0.09722, allocations: 428.4 kB / 353.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.715e-05/0.09728, allocations: 0 / 353.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.09733, allocations: 11.94 kB / 353.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.09742, allocations: 11.86 kB / 353.5 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.09756, allocations: 19.92 kB / 353.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.09766, allocations: 59.77 kB / 353.6 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.09784, allocations: 51.97 kB / 353.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.517e-05/0.09793, allocations: 31.8 kB / 353.7 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.795e-05/0.09801, allocations: 31.84 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.09803, allocations: 4 kB / 353.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.169e-05/0.09805, allocations: 4 kB / 353.7 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.09808, allocations: 15.92 kB / 353.7 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.09812, allocations: 27.81 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.09823, allocations: 63.77 kB / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.09824, allocations: 0 / 353.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.09825, allocations: 4 kB / 353.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.09826, allocations: 3.938 kB / 353.8 MB, free: 1.34 MB / 286.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.0004634/0.09873, allocations: 387.1 kB / 354.2 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.09877, allocations: 8.031 kB / 354.2 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.09881, allocations: 8.844 kB / 354.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.09892, allocations: 172.3 kB / 354.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.417e-05/0.09895, allocations: 8.375 kB / 354.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.09897, allocations: 8.125 kB / 354.4 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.09919, allocations: 117.9 kB / 354.5 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.09921, allocations: 0 / 354.5 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.09922, allocations: 7.922 kB / 354.5 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.09923, allocations: 4 kB / 354.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.0994, allocations: 59.89 kB / 354.6 MB, free: 480 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006249/0.1, allocations: 0.6341 MB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1002, allocations: 121.1 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1003, allocations: 56.27 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1004, allocations: 4 kB / 355.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.1004, allocations: 38.5 kB / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1004, allocations: 0 / 355.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004266/0.1008, allocations: 121.7 kB / 355.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.1009, allocations: 158.2 kB / 355.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.101, allocations: 125.7 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.101, allocations: 25.7 kB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.1011, allocations: 99.98 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.1011, allocations: 16.22 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.1012, allocations: 25.72 kB / 356 MB, free: 14.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1013, allocations: 318.8 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.1013, allocations: 19.98 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.308e-05/0.1014, allocations: 52.34 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.1016, allocations: 88.19 kB / 356.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1016, allocations: 0 / 356.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002059/0.1018, allocations: 93.59 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1018, allocations: 6.812 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1019, allocations: 4 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1019, allocations: 0 / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.674e-05/0.102, allocations: 19.86 kB / 356.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.102, allocations: 4 kB / 356.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.1021, allocations: 8 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.1021, allocations: 8.156 kB / 356.6 MB, free: 14.2 MB / 302.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 7.713e-05/0.1022, allocations: 117.8 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.1023, allocations: 15.83 kB / 356.7 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.1023, allocations: 15.47 kB / 356.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1023, allocations: 3.938 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1023, allocations: 0 / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1023, allocations: 4 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003553/0.1027, allocations: 181.6 kB / 356.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1027, allocations: 0 / 356.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.867e-05/0.1028, allocations: 19.92 kB / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.1028, allocations: 4 kB / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.1028, allocations: 0 / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1028, allocations: 7.938 kB / 357 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1028, allocations: 0 / 357 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003116/0.1031, allocations: 492.6 kB / 357.4 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.096e-05/0.1032, allocations: 85.02 kB / 357.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.1032, allocations: 7.984 kB / 357.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.1034, allocations: 11.94 kB / 357.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.1035, allocations: 7.984 kB / 357.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.1035, allocations: 0 / 357.6 MB, free: 13.15 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.1035, allocations: 99.64 kB / 357.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1035, allocations: 0 / 357.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003914/0.1039, allocations: 16 kB / 357.7 MB, free: 13.04 MB / 302.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.355e-05/0.104, allocations: 95.19 kB / 357.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1042, allocations: 68.08 kB / 357.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1042, allocations: 4.062 kB / 357.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.343e-05/0.1043, allocations: 31.92 kB / 357.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.1049, allocations: 4 kB / 357.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.1053, allocations: 210.8 kB / 358.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1055, allocations: 0.6924 MB / 358.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.508e-05/0.1055, allocations: 3.984 kB / 358.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.1056, allocations: 15.38 kB / 358.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1056, allocations: 0 / 358.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Templates: time 0.00246/0.108, allocations: 0.5593 MB / 359.3 MB, free: 11.29 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches