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.00151/0.00151, allocations: 111.2 kB / 17.68 MB, free: 5.332 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.001784/0.001784, allocations: 192 kB / 18.62 MB, free: 4.41 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.379/1.379, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001272, allocations: 55.33 kB / 302 MB, free: 5.176 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1153, allocations: 49.45 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003111/0.1184, allocations: 1.583 MB / 353.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.1192, allocations: 432.4 kB / 353.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.1192, allocations: 0 / 353.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.497e-05/0.1193, allocations: 11.86 kB / 353.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.944e-05/0.1194, allocations: 11.88 kB / 353.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.1195, allocations: 11.98 kB / 353.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1197, allocations: 63.72 kB / 353.6 MB, free: 1.582 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.1199, allocations: 47.95 kB / 353.6 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.12, allocations: 31.86 kB / 353.7 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.798e-05/0.1201, allocations: 27.86 kB / 353.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1201, allocations: 11.94 kB / 353.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.1201, allocations: 4 kB / 353.7 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.1202, allocations: 19.91 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1202, allocations: 31.8 kB / 353.8 MB, free: 1.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1204, allocations: 55.8 kB / 353.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1204, allocations: 4 kB / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1204, allocations: 0 / 353.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.1204, allocations: 0 / 353.8 MB, free: 1.352 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.0006119/0.121, allocations: 387.1 kB / 354.2 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.121, allocations: 8.031 kB / 354.2 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.1211, allocations: 8.844 kB / 354.2 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1212, allocations: 172.3 kB / 354.4 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.1213, allocations: 12.31 kB / 354.4 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1213, allocations: 8.125 kB / 354.4 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.1215, allocations: 113.9 kB / 354.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1215, allocations: 0 / 354.5 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.1215, allocations: 4 kB / 354.5 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.1216, allocations: 7.938 kB / 354.5 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.1218, allocations: 55.83 kB / 354.6 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.1224, allocations: 0.6496 MB / 355.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.1226, allocations: 117 kB / 355.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.1227, allocations: 56.34 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1227, allocations: 4 kB / 355.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.1227, allocations: 34.56 kB / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1227, allocations: 0 / 355.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004107/0.1232, allocations: 118 kB / 355.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.1232, allocations: 174.2 kB / 355.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.1233, allocations: 117.8 kB / 355.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1234, allocations: 25.7 kB / 355.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.931e-05/0.1234, allocations: 104 kB / 356 MB, free: 14.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.1235, allocations: 15.8 kB / 356 MB, free: 14.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.1235, allocations: 17.72 kB / 356 MB, free: 14.86 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.1236, allocations: 322.8 kB / 356.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.601e-05/0.1237, allocations: 23.98 kB / 356.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.1238, allocations: 48.27 kB / 356.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.124, allocations: 84.2 kB / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.124, allocations: 0 / 356.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002062/0.1242, allocations: 97.66 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1242, allocations: 8.031 kB / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1242, allocations: 0 / 356.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1242, allocations: 4 kB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1244, allocations: 15.92 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.1244, allocations: 7.938 kB / 356.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.1244, allocations: 4 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1245, allocations: 4 kB / 356.6 MB, free: 14.21 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 9.545e-05/0.1246, allocations: 125.7 kB / 356.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.13e-05/0.1247, allocations: 11.91 kB / 356.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.657e-05/0.1247, allocations: 7.531 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1247, allocations: 11.88 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1247, allocations: 0 / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1247, allocations: 4 kB / 356.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.1251, allocations: 177.6 kB / 356.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1251, allocations: 4 kB / 356.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.626e-05/0.1252, allocations: 11.98 kB / 356.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1252, allocations: 0 / 356.9 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1252, allocations: 8 kB / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1252, allocations: 7.938 kB / 357 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1252, allocations: 11.88 kB / 357 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.1256, allocations: 488.8 kB / 357.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.742e-05/0.1257, allocations: 93 kB / 357.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.565e-05/0.1257, allocations: 0 / 357.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.1259, allocations: 7.938 kB / 357.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.126, allocations: 15.92 kB / 357.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.126, allocations: 4 kB / 357.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.277e-05/0.126, allocations: 91.27 kB / 357.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.126, allocations: 0 / 357.7 MB, free: 13.05 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.1264, allocations: 12 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 0.0001028/0.1265, allocations: 99.23 kB / 357.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1268, allocations: 63.89 kB / 357.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1268, allocations: 0 / 357.8 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.1269, allocations: 36.48 kB / 357.9 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.1274, allocations: 8.766 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.0004457/0.1278, allocations: 210.3 kB / 358.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.1281, allocations: 0.6963 MB / 358.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.625e-05/0.1282, allocations: 0 / 358.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.1282, allocations: 11.44 kB / 358.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1282, allocations: 0 / 358.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Templates: time 0.002712/0.1309, allocations: 0.5477 MB / 359.3 MB, free: 11.3 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 cvode -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