Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.BusUsage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008761/0.0008759, allocations: 93.84 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000999/0.0009989, allocations: 192.9 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002536/0.0002538, allocations: 8 kB / 307.1 MB, free: 1.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1088, allocations: 51.51 MB / 358.6 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.00176/0.1106, allocations: 1.31 MB / 359.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008514/0.1115, allocations: 467.2 kB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.1116, allocations: 8 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.1116, allocations: 3.938 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.1117, allocations: 11.92 kB / 360.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.1119, allocations: 23.91 kB / 360.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.112, allocations: 51.8 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.1122, allocations: 40.17 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.1123, allocations: 31.84 kB / 360.5 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.1124, allocations: 23.86 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.1124, allocations: 4 kB / 360.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.124e-05/0.1124, allocations: 11.94 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.1125, allocations: 11.92 kB / 360.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.1125, allocations: 29.7 kB / 360.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.911e-05/0.1126, allocations: 47.89 kB / 360.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1126, allocations: 0 / 360.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1126, allocations: 0 / 360.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1126, allocations: 0 / 360.7 MB, free: 11.6 MB / 302.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.0004666/0.1131, allocations: 375.4 kB / 361 MB, free: 11.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1132, allocations: 16.02 kB / 361.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.1133, allocations: 19.84 kB / 361.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.1135, allocations: 178.9 kB / 361.3 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1135, allocations: 4 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.1136, allocations: 8 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.1138, allocations: 125.8 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1138, allocations: 0 / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1138, allocations: 0 / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.1138, allocations: 4 kB / 361.4 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.114, allocations: 75.89 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.1147, allocations: 0.6342 MB / 362.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.1149, allocations: 125 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.115, allocations: 60.28 kB / 362.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.115, allocations: 4 kB / 362.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.1151, allocations: 38.5 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.1151, allocations: 0 / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005061/0.1156, allocations: 141.5 kB / 362.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.1157, allocations: 158.8 kB / 362.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.1158, allocations: 125.7 kB / 362.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1158, allocations: 25.7 kB / 362.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.1159, allocations: 107.9 kB / 362.9 MB, free: 9.102 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1159, allocations: 11.81 kB / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.1159, allocations: 0 / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.116, allocations: 322.8 kB / 363.2 MB, free: 8.766 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.1161, allocations: 27.98 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-05/0.1162, allocations: 56.22 kB / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.66e-05/0.1163, allocations: 35.98 kB / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1163, allocations: 0 / 363.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002252/0.1165, allocations: 109.5 kB / 363.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1166, allocations: 8 kB / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1166, allocations: 3.984 kB / 363.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1166, allocations: 4 kB / 363.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.572e-05/0.1167, allocations: 8 kB / 363.4 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1167, allocations: 4 kB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.595e-05/0.1168, allocations: 11.98 kB / 363.5 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.263e-06/0.1168, allocations: 0 / 363.5 MB, free: 8.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.324e-05/0.1169, allocations: 129.8 kB / 363.6 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.114e-05/0.117, allocations: 11.84 kB / 363.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.117, allocations: 19.47 kB / 363.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.117, allocations: 7.984 kB / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1171, allocations: 0 / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1171, allocations: 0 / 363.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/0.1174, allocations: 189.6 kB / 363.8 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1175, allocations: 4 kB / 363.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.1175, allocations: 15.98 kB / 363.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1175, allocations: 4 kB / 363.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.1176, allocations: 0 / 363.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.1176, allocations: 4 kB / 363.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1176, allocations: 3.984 kB / 363.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003378/0.1179, allocations: 0.4928 MB / 364.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.118, allocations: 85.11 kB / 364.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.118, allocations: 7.984 kB / 364.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.1182, allocations: 16 kB / 364.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.1183, allocations: 7.984 kB / 364.4 MB, free: 7.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1183, allocations: 3.938 kB / 364.4 MB, free: 7.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.817e-05/0.1183, allocations: 91.27 kB / 364.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1183, allocations: 4 kB / 364.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.1187, allocations: 19.84 kB / 364.6 MB, free: 7.277 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 (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.0001121/0.1188, allocations: 95.19 kB / 364.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.1191, allocations: 71.89 kB / 364.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1191, allocations: 0 / 364.7 MB, free: 7.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1192, allocations: 40.36 kB / 364.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.1197, allocations: 11.95 kB / 364.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.1202, allocations: 226.7 kB / 365 MB, free: 6.793 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1205, allocations: 0.6926 MB / 365.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.637e-05/0.1205, allocations: 3.984 kB / 365.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.1206, allocations: 11.44 kB / 365.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1206, allocations: 4 kB / 365.7 MB, free: 6.055 MB / 302.1 MB Notification: Performance of Templates: time 0.00248/0.1231, allocations: 436.1 kB / 366.1 MB, free: 5.629 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.BusUsage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches