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.001488/0.001487, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001629/0.001629, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.65/1.65, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001236/0.001236, allocations: 47.94 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1204, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003639/0.1241, allocations: 1.586 MB / 330.3 MB, free: 2.148 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.1251, allocations: 476.6 kB / 330.8 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.045e-05/0.1252, allocations: 0 / 330.8 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.174e-05/0.1252, allocations: 11.88 kB / 330.8 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.793e-05/0.1253, allocations: 11.86 kB / 330.8 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1255, allocations: 19.97 kB / 330.8 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1257, allocations: 59.78 kB / 330.9 MB, free: 1.574 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.1259, allocations: 47.91 kB / 330.9 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.126, allocations: 35.84 kB / 330.9 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.698e-05/0.1261, allocations: 31.84 kB / 331 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.1261, allocations: 4 kB / 331 MB, free: 1.457 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.1261, allocations: 4 kB / 331 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.698e-05/0.1261, allocations: 19.86 kB / 331 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.872e-05/0.1262, allocations: 27.88 kB / 331 MB, free: 1.406 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.1263, allocations: 71.64 kB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1263, allocations: 0 / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1263, allocations: 0 / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1264, allocations: 4 kB / 331.1 MB, free: 1.332 MB / 270.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.0005841/0.1269, allocations: 375.3 kB / 331.5 MB, free: 0.918 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.127, allocations: 12.03 kB / 331.5 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.127, allocations: 8.844 kB / 331.5 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1272, allocations: 172.2 kB / 331.7 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.1272, allocations: 4.375 kB / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.1272, allocations: 4.375 kB / 331.7 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.1275, allocations: 122.2 kB / 331.8 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1275, allocations: 0 / 331.8 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1275, allocations: 7.984 kB / 331.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.1275, allocations: 0 / 331.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.1277, allocations: 55.91 kB / 331.8 MB, free: 492 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.1286, allocations: 0.6418 MB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1288, allocations: 113.1 kB / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.129, allocations: 56.33 kB / 332.7 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.129, allocations: 7.922 kB / 332.7 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1291, allocations: 38.56 kB / 332.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 2.855e-06/0.1291, allocations: 0 / 332.7 MB, free: 15.49 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004798/0.1295, allocations: 126 kB / 332.8 MB, free: 15.36 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.1297, allocations: 158.2 kB / 333 MB, free: 15.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.1299, allocations: 129.7 kB / 333.1 MB, free: 15.04 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1299, allocations: 25.7 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.1299, allocations: 96.08 kB / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.13, allocations: 15.7 kB / 333.2 MB, free: 14.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.13, allocations: 25.72 kB / 333.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1302, allocations: 326.8 kB / 333.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.1303, allocations: 19.98 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.1304, allocations: 48.28 kB / 333.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.1306, allocations: 80.2 kB / 333.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1307, allocations: 0 / 333.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002146/0.1309, allocations: 97.62 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1309, allocations: 7.984 kB / 333.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1309, allocations: 7.984 kB / 333.8 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1309, allocations: 0 / 333.8 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1311, allocations: 12 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1311, allocations: 4 kB / 333.9 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.584e-05/0.1311, allocations: 11.92 kB / 333.9 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-06/0.1312, allocations: 4 kB / 333.9 MB, free: 14.21 MB / 286.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.0001119/0.1313, allocations: 125.8 kB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.937e-05/0.1314, allocations: 7.906 kB / 334 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.1314, allocations: 19.47 kB / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1314, allocations: 0 / 334 MB, free: 14.05 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1314, allocations: 4 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1314, allocations: 3.938 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.1318, allocations: 181.8 kB / 334.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1318, allocations: 4 kB / 334.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.1319, allocations: 11.98 kB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.1319, allocations: 4 kB / 334.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1319, allocations: 4 kB / 334.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.132, allocations: 7.938 kB / 334.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.132, allocations: 7.922 kB / 334.2 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.1323, allocations: 492.6 kB / 334.7 MB, free: 13.27 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1324, allocations: 85.02 kB / 334.8 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1324, allocations: 7.984 kB / 334.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.1326, allocations: 8 kB / 334.8 MB, free: 13.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.1327, allocations: 11.92 kB / 334.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.1327, allocations: 3.938 kB / 334.8 MB, free: 13.14 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.047e-05/0.1328, allocations: 95.27 kB / 334.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1328, allocations: 8 kB / 334.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003755/0.1332, allocations: 8 kB / 334.9 MB, free: 13.03 MB / 286.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.0001045/0.1333, allocations: 95.19 kB / 335 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1335, allocations: 67.83 kB / 335.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1335, allocations: 0 / 335.1 MB, free: 12.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 9.704e-05/0.1336, allocations: 36.36 kB / 335.1 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005198/0.1342, allocations: 8.766 kB / 335.1 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.1347, allocations: 198.5 kB / 335.3 MB, free: 12.59 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.135, allocations: 0.6965 MB / 336 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.246e-05/0.1351, allocations: 0 / 336 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.1351, allocations: 15.42 kB / 336.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1351, allocations: 0 / 336.1 MB, free: 11.85 MB / 286.1 MB Notification: Performance of Templates: time 0.002757/0.1379, allocations: 0.5477 MB / 336.6 MB, free: 11.3 MB / 286.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 -s gbode -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