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.00123/0.00123, allocations: 96.94 kB / 16.94 MB, free: 5.977 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.001448/0.001448, allocations: 180.4 kB / 17.82 MB, free: 5.652 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.758/1.758, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004658/0.0004658, allocations: 12 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 47.58 MB / 328.3 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002487/0.1302, allocations: 1.284 MB / 329.6 MB, free: 2.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.131, allocations: 436.3 kB / 330 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.637e-05/0.131, allocations: 0 / 330 MB, free: 2.387 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.1311, allocations: 11.92 kB / 330 MB, free: 2.375 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1312, allocations: 7.922 kB / 330 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.1314, allocations: 15.98 kB / 330.1 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.662e-05/0.1315, allocations: 43.83 kB / 330.1 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001998/0.1317, allocations: 35.89 kB / 330.1 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.33e-05/0.1318, allocations: 23.92 kB / 330.2 MB, free: 2.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.265e-05/0.1319, allocations: 23.86 kB / 330.2 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1319, allocations: 0 / 330.2 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.1319, allocations: 4 kB / 330.2 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.1319, allocations: 7.938 kB / 330.2 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.132, allocations: 33.64 kB / 330.2 MB, free: 2.176 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.111e-05/0.1321, allocations: 47.89 kB / 330.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1321, allocations: 0 / 330.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1321, allocations: 0 / 330.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1321, allocations: 4 kB / 330.3 MB, free: 2.125 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.0005248/0.1326, allocations: 371.4 kB / 330.6 MB, free: 1.715 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.1327, allocations: 8.031 kB / 330.6 MB, free: 1.707 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.1327, allocations: 7.906 kB / 330.7 MB, free: 1.699 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1329, allocations: 170.9 kB / 330.8 MB, free: 1.492 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.1329, allocations: 7.953 kB / 330.8 MB, free: 1.484 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.133, allocations: 8 kB / 330.8 MB, free: 1.477 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.1333, allocations: 117.9 kB / 331 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1333, allocations: 0 / 331 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.1333, allocations: 3.984 kB / 331 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.1333, allocations: 4 kB / 331 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.1335, allocations: 67.91 kB / 331 MB, free: 1.266 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.1343, allocations: 0.642 MB / 331.7 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.1345, allocations: 125.1 kB / 331.8 MB, free: 400 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1346, allocations: 0 / 331.8 MB, free: 400 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.1346, allocations: 50.48 kB / 331.8 MB, free: 340 kB / 270.1 MB Notification: Performance of pre-optimization done (n=6): time 3.055e-06/0.1346, allocations: 4 kB / 331.8 MB, free: 336 kB / 270.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004792/0.1351, allocations: 134 kB / 332 MB, free: 196 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.1352, allocations: 154.2 kB / 332.1 MB, free: 4 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1353, allocations: 129.6 kB / 332.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1354, allocations: 29.7 kB / 332.3 MB, free: 15.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.57e-05/0.1354, allocations: 99.97 kB / 332.4 MB, free: 15.73 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.1355, allocations: 11.81 kB / 332.4 MB, free: 15.72 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1355, allocations: 4 kB / 332.4 MB, free: 15.71 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1356, allocations: 322.9 kB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.827e-05/0.1357, allocations: 19.98 kB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.936e-05/0.1358, allocations: 64.22 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.784e-05/0.1359, allocations: 31.97 kB / 332.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1359, allocations: 0 / 332.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002773/0.1362, allocations: 105.5 kB / 332.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1362, allocations: 4 kB / 332.9 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1362, allocations: 7.938 kB / 332.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1363, allocations: 0 / 332.9 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1364, allocations: 20.16 kB / 333 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1364, allocations: 3.984 kB / 333 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.1365, allocations: 15.86 kB / 333 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1365, allocations: 4.125 kB / 333 MB, free: 15.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.1366, allocations: 121.8 kB / 333.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.333e-05/0.1367, allocations: 7.984 kB / 333.1 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.1367, allocations: 15.42 kB / 333.1 MB, free: 14.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1367, allocations: 4 kB / 333.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1367, allocations: 4 kB / 333.1 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1367, allocations: 4 kB / 333.1 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003646/0.1371, allocations: 185.5 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1371, allocations: 4 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.864e-05/0.1372, allocations: 15.98 kB / 333.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1372, allocations: 0 / 333.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/0.1372, allocations: 0 / 333.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1372, allocations: 7.938 kB / 333.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1372, allocations: 0 / 333.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/0.1376, allocations: 0.5385 MB / 333.9 MB, free: 14.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.1377, allocations: 92.95 kB / 334 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1377, allocations: 4 kB / 334 MB, free: 13.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.1379, allocations: 8 kB / 334 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.138, allocations: 11.98 kB / 334 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.138, allocations: 4 kB / 334 MB, free: 13.96 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.755e-05/0.1381, allocations: 91.27 kB / 334.1 MB, free: 13.87 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1381, allocations: 0 / 334.1 MB, free: 13.87 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.1385, allocations: 12 kB / 334.1 MB, free: 13.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001432/0.1386, allocations: 95.19 kB / 334.2 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.1389, allocations: 71.89 kB / 334.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1389, allocations: 0 / 334.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.139, allocations: 44.48 kB / 334.3 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.1393, allocations: 11.95 kB / 334.3 MB, free: 13.63 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.1397, allocations: 239.9 kB / 334.6 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004257/0.1402, allocations: 0.7004 MB / 335.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.14e-05/0.1402, allocations: 0 / 335.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.1403, allocations: 11.44 kB / 335.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1403, allocations: 0 / 335.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of Templates: time 0.003086/0.1434, allocations: 436.1 kB / 335.7 MB, free: 12.2 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches