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.001191/0.001191, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001849/0.003039, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001049/0.001049, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002414, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.07/1.07, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.101/1.171, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.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 1.293e-06/1.293e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.302e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.002731/0.002754, allocations: 1.702 MB / 246.2 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005929/0.008683, allocations: 498.5 kB / 246.7 MB, free: 12.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.008805, allocations: 4 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.694e-05/0.008852, allocations: 7.875 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.156e-05/0.008923, allocations: 11.81 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.009084, allocations: 35.89 kB / 246.8 MB, free: 12.06 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001396/0.009224, allocations: 59.78 kB / 246.8 MB, free: 12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.009386, allocations: 36.14 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.009573, allocations: 59.77 kB / 246.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.868e-05/0.009632, allocations: 19.97 kB / 246.9 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.00965, allocations: 7.938 kB / 247 MB, free: 11.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.541e-05/0.009695, allocations: 8 kB / 247 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.009711, allocations: 8 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.009741, allocations: 19.94 kB / 247 MB, free: 11.84 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.00991, allocations: 55.75 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.927e-05/0.009929, allocations: 0 / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.009931, allocations: 3.938 kB / 247 MB, free: 11.78 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.1e-05/0.009952, allocations: 8 kB / 247.1 MB, free: 11.77 MB / 250.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.0005297/0.01048, allocations: 276.4 kB / 247.3 MB, free: 11.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.01053, allocations: 12.03 kB / 247.3 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.01072, allocations: 102 kB / 247.4 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.0109, allocations: 129.6 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.01092, allocations: 4.375 kB / 247.6 MB, free: 11.2 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.01093, allocations: 8.375 kB / 247.6 MB, free: 11.19 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.01113, allocations: 99.22 kB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.01114, allocations: 4.172 kB / 247.7 MB, free: 11.06 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.01116, allocations: 12.38 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.01117, allocations: 3.938 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.885e-05/0.01123, allocations: 19.88 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.01181, allocations: 0.5125 MB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.01194, allocations: 101 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.617e-05/0.01199, allocations: 40.34 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.01201, allocations: 4 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.01204, allocations: 38.56 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.01204, allocations: 0 / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002705/0.01231, allocations: 73.48 kB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.0124, allocations: 158.2 kB / 248.6 MB, free: 9.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.0125, allocations: 114.7 kB / 248.7 MB, free: 9.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.01252, allocations: 25.7 kB / 248.8 MB, free: 9.809 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.277e-05/0.01258, allocations: 100.1 kB / 248.9 MB, free: 9.707 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.01262, allocations: 12.53 kB / 248.9 MB, free: 9.695 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.01266, allocations: 29.69 kB / 248.9 MB, free: 9.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.01278, allocations: 318.8 kB / 249.2 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.01281, allocations: 11.92 kB / 249.2 MB, free: 9.328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.01284, allocations: 32.3 kB / 249.3 MB, free: 9.281 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.957e-05/0.01291, allocations: 52.2 kB / 249.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01292, allocations: 0 / 249.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001121/0.01303, allocations: 73.48 kB / 249.4 MB, free: 9.137 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.01305, allocations: 7.594 kB / 249.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.01306, allocations: 0 / 249.4 MB, free: 9.133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01307, allocations: 4 kB / 249.4 MB, free: 9.129 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.883e-05/0.01317, allocations: 11.94 kB / 249.4 MB, free: 9.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.01317, allocations: 4 kB / 249.4 MB, free: 9.113 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.01323, allocations: 15.88 kB / 249.4 MB, free: 9.098 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.01323, allocations: 0 / 249.4 MB, free: 9.098 MB / 250.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.91e-05/0.01332, allocations: 118 kB / 249.5 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-05/0.0134, allocations: 7.938 kB / 249.5 MB, free: 8.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.01344, allocations: 15.61 kB / 249.6 MB, free: 8.953 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.01344, allocations: 3.984 kB / 249.6 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.01344, allocations: 4 kB / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.01345, allocations: 0 / 249.6 MB, free: 8.945 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.01377, allocations: 77.88 kB / 249.6 MB, free: 8.852 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.01377, allocations: 4 kB / 249.7 MB, free: 8.848 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.01384, allocations: 15.92 kB / 249.7 MB, free: 8.832 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.01386, allocations: 15.89 kB / 249.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.01387, allocations: 0 / 249.7 MB, free: 8.816 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.01388, allocations: 8 kB / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01388, allocations: 0 / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.01388, allocations: 0 / 249.7 MB, free: 8.809 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.01419, allocations: 460.6 kB / 250.1 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.01421, allocations: 3.938 kB / 250.1 MB, free: 8.336 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.01442, allocations: 4.188 kB / 250.1 MB, free: 8.332 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.01447, allocations: 11.98 kB / 250.2 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.01448, allocations: 8 kB / 250.2 MB, free: 8.312 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.866e-05/0.01451, allocations: 16.84 kB / 250.2 MB, free: 8.293 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01451, allocations: 0 / 250.2 MB, free: 8.293 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.01489, allocations: 15.94 kB / 250.2 MB, free: 8.277 MB / 250.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.0001333/0.01503, allocations: 80.36 kB / 250.3 MB, free: 8.188 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.01513, allocations: 32.72 kB / 250.3 MB, free: 8.152 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.01514, allocations: 4 kB / 250.3 MB, free: 8.148 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.01518, allocations: 28.77 kB / 250.3 MB, free: 8.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.01567, allocations: 12.56 kB / 250.4 MB, free: 8.105 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.01675, allocations: 212.4 kB / 250.6 MB, free: 7.859 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.294e-05/0.01683, allocations: 59.34 kB / 250.6 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.01686, allocations: 4 kB / 250.6 MB, free: 7.777 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.27e-05/0.01693, allocations: 55.31 kB / 250.7 MB, free: 7.723 MB / 250.7 MB Notification: Performance of SimCode: time 1.153e-06/0.01693, allocations: 0 / 250.7 MB, free: 7.723 MB / 250.7 MB Notification: Performance of Templates: time 0.003168/0.02009, allocations: 0.5191 MB / 251.2 MB, free: 7.211 MB / 250.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 -ignoreHideResult -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.575661542825401]