Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00205/0.00205, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 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.00202/0.00202, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.5/1.5, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Blocks.Examples.BusUsage") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 63.89 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2782, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003192/0.2813, allocations: 1.633 MB / 433.7 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.2823, allocations: 0.4909 MB / 434.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.327e-05/0.2824, allocations: 4 kB / 434.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.308e-05/0.2824, allocations: 7.875 kB / 434.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.642e-05/0.2825, allocations: 15.86 kB / 434.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.2828, allocations: 31.91 kB / 434.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.2829, allocations: 55.84 kB / 434.3 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.2831, allocations: 44.06 kB / 434.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.2833, allocations: 27.92 kB / 434.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.01e-05/0.2833, allocations: 27.86 kB / 434.4 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.2834, allocations: 4 kB / 434.4 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.089e-05/0.2834, allocations: 19.92 kB / 434.4 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.2834, allocations: 12 kB / 434.4 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.2835, allocations: 31.73 kB / 434.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2836, allocations: 81.19 kB / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2837, allocations: 0 / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2837, allocations: 0 / 434.5 MB, free: 4.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2837, allocations: 0 / 434.5 MB, free: 4.902 MB / 334.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.0006512/0.2843, allocations: 387.1 kB / 434.9 MB, free: 4.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2844, allocations: 8.031 kB / 434.9 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.2845, allocations: 20.84 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.2848, allocations: 192.2 kB / 435.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.2848, allocations: 4.375 kB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.2849, allocations: 8.375 kB / 435.1 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.2851, allocations: 126.2 kB / 435.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2852, allocations: 0 / 435.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2852, allocations: 0 / 435.2 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.2852, allocations: 8 kB / 435.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001995/0.2854, allocations: 51.89 kB / 435.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.2861, allocations: 0.642 MB / 435.9 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.2863, allocations: 117 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.2864, allocations: 48.41 kB / 436.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.2864, allocations: 3.938 kB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.2865, allocations: 42.56 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2865, allocations: 0 / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005044/0.287, allocations: 125.4 kB / 436.3 MB, free: 2.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.2871, allocations: 170.7 kB / 436.4 MB, free: 2.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2872, allocations: 121.8 kB / 436.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2872, allocations: 25.7 kB / 436.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.2873, allocations: 96.08 kB / 436.7 MB, free: 2.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.2873, allocations: 19.84 kB / 436.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.2874, allocations: 21.7 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.2875, allocations: 318.8 kB / 437 MB, free: 2.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.2876, allocations: 23.98 kB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.2877, allocations: 48.27 kB / 437.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002086/0.2879, allocations: 84.2 kB / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2879, allocations: 0 / 437.2 MB, free: 1.883 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000243/0.2882, allocations: 97.48 kB / 437.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2882, allocations: 4 kB / 437.3 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2882, allocations: 4.156 kB / 437.3 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/0.2882, allocations: 7.984 kB / 437.3 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.2883, allocations: 11.98 kB / 437.3 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2883, allocations: 4 kB / 437.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.409e-05/0.2884, allocations: 11.92 kB / 437.3 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.2884, allocations: 4 kB / 437.3 MB, free: 1.734 MB / 334.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.000116/0.2885, allocations: 121.8 kB / 437.4 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.49e-05/0.2886, allocations: 7.953 kB / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.2887, allocations: 15.48 kB / 437.5 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2887, allocations: 7.984 kB / 437.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2887, allocations: 0 / 437.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2887, allocations: 7.938 kB / 437.5 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.2891, allocations: 181.6 kB / 437.7 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.2891, allocations: 4 kB / 437.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.2892, allocations: 11.98 kB / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2892, allocations: 0 / 437.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.2892, allocations: 4 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2892, allocations: 128 / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.2892, allocations: 15.88 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.2897, allocations: 492.5 kB / 438.2 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.2897, allocations: 89.06 kB / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.2897, allocations: 0 / 438.3 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.29, allocations: 11.98 kB / 438.3 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.29, allocations: 7.938 kB / 438.3 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.29, allocations: 7.984 kB / 438.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.937e-05/0.2901, allocations: 95.16 kB / 438.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2901, allocations: 4 kB / 438.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003935/0.2905, allocations: 12 kB / 438.4 MB, free: 0.5664 MB / 334.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.0001208/0.2906, allocations: 99.23 kB / 438.5 MB, free: 468 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.2908, allocations: 59.91 kB / 438.5 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2909, allocations: 0 / 438.5 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.291, allocations: 36.47 kB / 438.6 MB, free: 372 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.2915, allocations: 4.062 kB / 438.6 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.292, allocations: 218.4 kB / 438.8 MB, free: 112 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.2924, allocations: 0.6924 MB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.573e-05/0.2924, allocations: 4 kB / 439.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.525e-05/0.2925, allocations: 11.44 kB / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2925, allocations: 0 / 439.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of Templates: time 0.003254/0.2957, allocations: 0.5703 MB / 440.1 MB, free: 14.81 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.5506018828600645]