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.001688/0.001688, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001933/0.001933, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 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 2.26/2.26, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 177] 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 0.002112/0.002112, allocations: 43.92 kB / 378.9 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3395, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003938/0.3434, allocations: 1.603 MB / 433.9 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3446, allocations: 470.7 kB / 434.4 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.3447, allocations: 4 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.535e-05/0.3448, allocations: 11.88 kB / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.058e-05/0.3449, allocations: 7.875 kB / 434.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.3451, allocations: 35.95 kB / 434.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.3453, allocations: 67.72 kB / 434.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.3455, allocations: 32 kB / 434.5 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.3456, allocations: 43.78 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.773e-05/0.3457, allocations: 27.86 kB / 434.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.3457, allocations: 4 kB / 434.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.741e-05/0.3458, allocations: 8 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.84e-05/0.3458, allocations: 19.92 kB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.3459, allocations: 19.88 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3461, allocations: 78.8 kB / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3461, allocations: 0 / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3461, allocations: 0 / 434.7 MB, free: 4.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3461, allocations: 0 / 434.7 MB, free: 4.297 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.0006582/0.3468, allocations: 313.7 kB / 435 MB, free: 3.965 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.3468, allocations: 8.031 kB / 435 MB, free: 3.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.347, allocations: 20.88 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.3473, allocations: 134.3 kB / 435.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.3473, allocations: 4.375 kB / 435.2 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3473, allocations: 8.375 kB / 435.2 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.3476, allocations: 122.2 kB / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3477, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3477, allocations: 0 / 435.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3477, allocations: 4 kB / 435.3 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.3479, allocations: 51.89 kB / 435.4 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008195/0.3488, allocations: 0.5753 MB / 436 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.349, allocations: 113 kB / 436.1 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3492, allocations: 52.33 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.3492, allocations: 0 / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.3493, allocations: 38.56 kB / 436.2 MB, free: 2.684 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.3493, allocations: 3.938 kB / 436.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006835/0.35, allocations: 121.5 kB / 436.3 MB, free: 2.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.3501, allocations: 158.2 kB / 436.4 MB, free: 2.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3502, allocations: 129.7 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.3503, allocations: 29.7 kB / 436.6 MB, free: 2.191 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.3503, allocations: 96.03 kB / 436.7 MB, free: 2.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.3504, allocations: 20.5 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.3504, allocations: 25.66 kB / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.3506, allocations: 326.8 kB / 437 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.3508, allocations: 15.98 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.3509, allocations: 56.22 kB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.3512, allocations: 84.19 kB / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3512, allocations: 0 / 437.2 MB, free: 1.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003558/0.3515, allocations: 97.55 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.3516, allocations: 4 kB / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3516, allocations: 4.125 kB / 437.3 MB, free: 1.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3516, allocations: 4 kB / 437.3 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.3517, allocations: 12.09 kB / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.3517, allocations: 11.98 kB / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.3518, allocations: 7.984 kB / 437.3 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.3518, allocations: 7.938 kB / 437.3 MB, free: 1.379 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.0001325/0.352, allocations: 117.8 kB / 437.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.3521, allocations: 11.94 kB / 437.5 MB, free: 1.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.3522, allocations: 15.58 kB / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3522, allocations: 0 / 437.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.3522, allocations: 4 kB / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3522, allocations: 0 / 437.5 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.3528, allocations: 137.1 kB / 437.6 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3528, allocations: 4 kB / 437.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3529, allocations: 11.94 kB / 437.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3529, allocations: 0 / 437.6 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.3529, allocations: 7.984 kB / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.3529, allocations: 0 / 437.7 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3529, allocations: 4 kB / 437.7 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/0.3535, allocations: 492.5 kB / 438.1 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.3535, allocations: 11.95 kB / 438.1 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.3536, allocations: 8 kB / 438.2 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.354, allocations: 7.984 kB / 438.2 MB, free: 0.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.354, allocations: 11.92 kB / 438.2 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.354, allocations: 4 kB / 438.2 MB, free: 496 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.321e-05/0.3541, allocations: 91.28 kB / 438.3 MB, free: 404 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3541, allocations: 0 / 438.3 MB, free: 404 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007176/0.3549, allocations: 8 kB / 438.3 MB, free: 396 kB / 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.0001319/0.355, allocations: 103.2 kB / 438.4 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.3553, allocations: 63.84 kB / 438.4 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3553, allocations: 0 / 438.4 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.3555, allocations: 35.91 kB / 438.5 MB, free: 184 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00095/0.3564, allocations: 4 kB / 438.5 MB, free: 180 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.3571, allocations: 203.6 kB / 438.7 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.3572, allocations: 79.27 kB / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.746e-05/0.3573, allocations: 0 / 438.8 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.3573, allocations: 11.44 kB / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3573, allocations: 0 / 438.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Templates: time 0.003883/0.3612, allocations: 0.5919 MB / 439.4 MB, free: 15.25 MB / 350.1 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=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.BusUsage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BusUsage/BusUsage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 6.692919506007456]