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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00135/0.00135, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001568/0.001568, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.609/1.609, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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=5003,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=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.038e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003099/0.003129, allocations: 1.617 MB / 273.8 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009379/0.004067, allocations: 470.7 kB / 274.3 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.004144, allocations: 4 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.404e-05/0.004188, allocations: 7.875 kB / 274.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.141e-05/0.00428, allocations: 7.875 kB / 274.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.004529, allocations: 31.91 kB / 274.3 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.004678, allocations: 63.78 kB / 274.4 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.004847, allocations: 40.06 kB / 274.4 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.005016, allocations: 43.89 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.005081, allocations: 19.92 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.005101, allocations: 8 kB / 274.5 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.853e-05/0.00515, allocations: 8 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.47e-05/0.005175, allocations: 15.97 kB / 274.5 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.232e-05/0.005217, allocations: 19.92 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001932/0.00541, allocations: 83.64 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.005413, allocations: 0 / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005414, allocations: 0 / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.005418, allocations: 0 / 274.6 MB, free: 15.37 MB / 266.7 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.0005588/0.005977, allocations: 306 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.00602, allocations: 8.031 kB / 274.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.006188, allocations: 28.83 kB / 274.9 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.006431, allocations: 129.7 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.006455, allocations: 4.375 kB / 275.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.006471, allocations: 8.375 kB / 275.1 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.006865, allocations: 114.3 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.006875, allocations: 192 / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.006889, allocations: 4.375 kB / 275.2 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.006897, allocations: 3.938 kB / 275.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001913/0.007088, allocations: 63.89 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006844/0.007773, allocations: 0.5674 MB / 275.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.007984, allocations: 113 kB / 275.9 MB, free: 13.87 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.008113, allocations: 48.34 kB / 276 MB, free: 13.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.008132, allocations: 4 kB / 276 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.008177, allocations: 50.48 kB / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.008178, allocations: 0 / 276 MB, free: 13.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004862/0.008664, allocations: 121.5 kB / 276.2 MB, free: 13.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.00878, allocations: 162.2 kB / 276.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.008914, allocations: 125.8 kB / 276.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.00894, allocations: 30.33 kB / 276.5 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.009019, allocations: 96.09 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.009048, allocations: 19.89 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.009098, allocations: 21.7 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.009285, allocations: 318.8 kB / 276.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.529e-05/0.00937, allocations: 23.97 kB / 276.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.635e-05/0.009466, allocations: 48.28 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.009649, allocations: 80.2 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.009651, allocations: 3.938 kB / 277.1 MB, free: 12.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002354/0.009886, allocations: 101.5 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.009906, allocations: 8 kB / 277.2 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.009912, allocations: 4.156 kB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.009933, allocations: 4 kB / 277.2 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.01003, allocations: 11.98 kB / 277.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01004, allocations: 3.938 kB / 277.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.01011, allocations: 15.92 kB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.01012, allocations: 0 / 277.2 MB, free: 12.46 MB / 266.7 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.000125/0.01024, allocations: 129.8 kB / 277.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.01032, allocations: 7.953 kB / 277.4 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.01035, allocations: 15.61 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.01036, allocations: 3.984 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.01036, allocations: 4 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.01037, allocations: 4 kB / 277.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.0107, allocations: 121.2 kB / 277.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.0107, allocations: 0 / 277.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.01077, allocations: 15.98 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01077, allocations: 0 / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.01079, allocations: 8 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01079, allocations: 3.938 kB / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.01079, allocations: 0 / 277.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004706/0.01126, allocations: 496.5 kB / 278 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.01127, allocations: 8.125 kB / 278 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.01129, allocations: 8 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.0115, allocations: 8 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.01156, allocations: 11.92 kB / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01156, allocations: 4 kB / 278 MB, free: 11.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.17e-05/0.01163, allocations: 91.27 kB / 278.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01163, allocations: 0 / 278.1 MB, free: 11.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003767/0.01201, allocations: 19.94 kB / 278.2 MB, free: 11.46 MB / 266.7 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.0001284/0.01214, allocations: 91.25 kB / 278.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002323/0.01237, allocations: 63.83 kB / 278.3 MB, free: 11.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01237, allocations: 3.938 kB / 278.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.01247, allocations: 36.42 kB / 278.3 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/0.01299, allocations: 16.11 kB / 278.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.01344, allocations: 196.3 kB / 278.6 MB, free: 11.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.01357, allocations: 75.33 kB / 278.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.001e-05/0.0136, allocations: 256 / 278.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.01364, allocations: 12.5 kB / 278.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01364, allocations: 0 / 278.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Templates: time 0.003608/0.01725, allocations: 0.5609 MB / 279.2 MB, free: 10.35 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.733071779017337]