Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 82.36 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 146.7 kB / 23.94 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 173.3 MB / 200.4 MB, free: 12.84 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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=5003,variableFilter="time|controlBus.realSignal1|controlBus.integerSignal|controlBus.booleanSignal|controlBus.subControlBus.myRealSignal|controlBus.subControlBus.myBooleanSignal",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.607e-06/3.607e-06, allocations: 1.062 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.187e-05/4.548e-05, allocations: 6.219 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003945/0.00399, allocations: 1.573 MB / 320.5 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009116/0.004902, allocations: 402.7 kB / 320.9 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.004982, allocations: 1.094 kB / 320.9 MB, free: 2.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.395e-05/0.005036, allocations: 16.7 kB / 320.9 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.005142, allocations: 13.14 kB / 320.9 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.005359, allocations: 19.03 kB / 320.9 MB, free: 2.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.005509, allocations: 58.94 kB / 321 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.005757, allocations: 41.95 kB / 321 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.005943, allocations: 45.05 kB / 321.1 MB, free: 2.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.006046, allocations: 25.05 kB / 321.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.103e-05/0.006087, allocations: 5 kB / 321.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.737e-05/0.006105, allocations: 5.75 kB / 321.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.006142, allocations: 11.62 kB / 321.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.043e-05/0.006192, allocations: 21.48 kB / 321.1 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.006385, allocations: 74.22 kB / 321.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.006388, allocations: 1.219 kB / 321.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.00639, allocations: 0 / 321.2 MB, free: 2.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.006398, allocations: 0 / 321.2 MB, free: 2.023 MB / 286.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.000554/0.006952, allocations: 312.5 kB / 321.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.007001, allocations: 11.36 kB / 321.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.007043, allocations: 8.859 kB / 321.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.511e-05/0.007138, allocations: 116 kB / 321.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.007166, allocations: 2.906 kB / 321.6 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.007187, allocations: 8.875 kB / 321.7 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.007442, allocations: 120.1 kB / 321.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.007453, allocations: 0 / 321.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.007467, allocations: 1.281 kB / 321.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.007475, allocations: 6.344 kB / 321.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.007687, allocations: 59.03 kB / 321.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.008187, allocations: 0.5633 MB / 322.4 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.008348, allocations: 114.9 kB / 322.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.008448, allocations: 52.61 kB / 322.6 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.008474, allocations: 7.031 kB / 322.6 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.008499, allocations: 38.48 kB / 322.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.0085, allocations: 1.188 kB / 322.6 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004494/0.008949, allocations: 122.1 kB / 322.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.008989, allocations: 157.8 kB / 322.9 MB, free: 448 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.685e-05/0.009066, allocations: 125.1 kB / 323 MB, free: 332 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.009075, allocations: 29.7 kB / 323 MB, free: 296 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.009118, allocations: 102.9 kB / 323.1 MB, free: 196 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.00914, allocations: 23.3 kB / 323.2 MB, free: 176 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.009176, allocations: 21.33 kB / 323.2 MB, free: 156 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.009314, allocations: 322 kB / 323.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.0094, allocations: 22.5 kB / 323.5 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.0095, allocations: 49.2 kB / 323.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.00971, allocations: 83.59 kB / 323.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009713, allocations: 0 / 323.6 MB, free: 15.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002552/0.009968, allocations: 92.03 kB / 323.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.009988, allocations: 10.92 kB / 323.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.009994, allocations: 1.125 kB / 323.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.01002, allocations: 2.25 kB / 323.7 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01014, allocations: 11.38 kB / 323.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01014, allocations: 2.156 kB / 323.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.01022, allocations: 15.44 kB / 323.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.01023, allocations: 7.406 kB / 323.8 MB, free: 15.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.01036, allocations: 118.9 kB / 323.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.01047, allocations: 5.516 kB / 323.9 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.01051, allocations: 19.38 kB / 323.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01051, allocations: 1.219 kB / 323.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.01052, allocations: 3.172 kB / 323.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.01053, allocations: 1.125 kB / 323.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.01088, allocations: 131.9 kB / 324.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01089, allocations: 1.25 kB / 324.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.102e-05/0.01096, allocations: 12.84 kB / 324.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.01096, allocations: 1.094 kB / 324.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01097, allocations: 2.828 kB / 324.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01097, allocations: 1.25 kB / 324.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.01098, allocations: 6.875 kB / 324.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.01149, allocations: 0.4936 MB / 324.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.01151, allocations: 6 kB / 324.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.01153, allocations: 3.328 kB / 324.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.01173, allocations: 6.75 kB / 324.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/0.0118, allocations: 16.27 kB / 324.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.01181, allocations: 1.781 kB / 324.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.678e-05/0.01188, allocations: 91.23 kB / 324.7 MB, free: 14.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01188, allocations: 4 kB / 324.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003797/0.01226, allocations: 13.17 kB / 324.7 MB, free: 14.82 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 (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.0001167/0.01237, allocations: 101.4 kB / 324.8 MB, free: 14.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.01261, allocations: 56.36 kB / 324.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01261, allocations: 0 / 324.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.01271, allocations: 37.92 kB / 324.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.01322, allocations: 7.281 kB / 324.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.0137, allocations: 197.7 kB / 325.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.01381, allocations: 74.17 kB / 325.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.428e-05/0.01384, allocations: 2.234 kB / 325.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.564e-05/0.01388, allocations: 16.77 kB / 325.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.01388, allocations: 0 / 325.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Templates: time 0.003186/0.01706, allocations: 0.5475 MB / 325.7 MB, free: 14.34 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.347322199493647]