Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 162.9 kB / 24.99 MB, free: 8.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.092/1.092, allocations: 177.1 MB / 205.3 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 273 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.351e-05, allocations: 6.312 kB / 273 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002074/0.002098, allocations: 1.645 MB / 274.7 MB, free: 180 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00069/0.002788, allocations: 494.6 kB / 275.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.002858, allocations: 0 / 275.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.002899, allocations: 7.938 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.002988, allocations: 19.8 kB / 275.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.003207, allocations: 27.91 kB / 275.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.003335, allocations: 63.77 kB / 275.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.003497, allocations: 28.16 kB / 275.3 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.003647, allocations: 47.89 kB / 275.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.003703, allocations: 23.91 kB / 275.4 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.003721, allocations: 4 kB / 275.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.479e-05/0.003766, allocations: 15.94 kB / 275.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.003782, allocations: 15.92 kB / 275.4 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.003811, allocations: 15.92 kB / 275.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003956, allocations: 59.75 kB / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.003959, allocations: 0 / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.003959, allocations: 0 / 275.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.003965, allocations: 0 / 275.5 MB, free: 15.36 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.0004356/0.0044, allocations: 412.3 kB / 275.9 MB, free: 14.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.004441, allocations: 8.031 kB / 275.9 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.004556, allocations: 16.89 kB / 275.9 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.004712, allocations: 136.5 kB / 276.1 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.004732, allocations: 8.375 kB / 276.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.004743, allocations: 4.375 kB / 276.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.004926, allocations: 125.3 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.004934, allocations: 192 / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.004945, allocations: 4.375 kB / 276.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.004957, allocations: 7.938 kB / 276.2 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.005011, allocations: 23.92 kB / 276.2 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.005508, allocations: 0.8 MB / 277 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.00562, allocations: 151.4 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.005668, allocations: 46.56 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.005683, allocations: 0 / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.00571, allocations: 49.31 kB / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.005711, allocations: 0 / 277.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002287/0.005939, allocations: 81.52 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.006003, allocations: 166.1 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.151e-05/0.006094, allocations: 181.8 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.006107, allocations: 25.7 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/0.006163, allocations: 138.8 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.006188, allocations: 27.81 kB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.006218, allocations: 23.38 kB / 277.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.006346, allocations: 0.4967 MB / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/0.006364, allocations: 0 / 278.4 MB, free: 12.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.006403, allocations: 58.44 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.006465, allocations: 62.36 kB / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006467, allocations: 0 / 278.5 MB, free: 11.97 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.239e-05/0.006549, allocations: 69.52 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.006565, allocations: 12.16 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.00657, allocations: 0 / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.006586, allocations: 3.984 kB / 278.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.006658, allocations: 15.98 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.006666, allocations: 4 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.006696, allocations: 7.953 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.006704, allocations: 4 kB / 278.6 MB, free: 11.85 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 8.872e-05/0.006793, allocations: 172.4 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.006837, allocations: 4 kB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.006866, allocations: 15.61 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.006869, allocations: 4 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.006873, allocations: 0 / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.006879, allocations: 4 kB / 278.8 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002152/0.007095, allocations: 140.5 kB / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007096, allocations: 0 / 279 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.007124, allocations: 8 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.007127, allocations: 4 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.007135, allocations: 0 / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007138, allocations: 3.938 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.007139, allocations: 7.938 kB / 279 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.007426, allocations: 0.6764 MB / 279.7 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.3e-05/0.007439, allocations: 11.95 kB / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.007451, allocations: 0 / 279.7 MB, free: 10.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.00756, allocations: 4 kB / 279.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.007616, allocations: 16.11 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.007621, allocations: 8 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.785e-05/0.007679, allocations: 131.2 kB / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007679, allocations: 0 / 279.8 MB, free: 10.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000241/0.00792, allocations: 15.94 kB / 279.8 MB, free: 10.57 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 7.416e-05/0.007994, allocations: 95.25 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.792e-05/0.008092, allocations: 43.55 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.008094, allocations: 0 / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.008125, allocations: 31.61 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.008455, allocations: 4 kB / 280 MB, free: 10.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.009016, allocations: 225.9 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.307e-05/0.009069, allocations: 59.36 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.464e-05/0.009094, allocations: 3.984 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.009124, allocations: 12.5 kB / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009124, allocations: 0 / 280.3 MB, free: 10.02 MB / 266.7 MB Notification: Performance of Templates: time 0.002154/0.01128, allocations: 0.5497 MB / 280.9 MB, free: 9.469 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.959453706862405]