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.001341/0.001341, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001431/0.001431, allocations: 209.8 kB / 24.49 MB, free: 4.133 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 1.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8.031 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+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.00155/0.00155, allocations: 47.92 kB / 379 MB, free: 2.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3414, allocations: 53.36 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BusUsage): time 0.003087/0.3445, allocations: 1.624 MB / 434 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009157/0.3454, allocations: 0.5064 MB / 434.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.3455, allocations: 3.938 kB / 434.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.3455, allocations: 3.938 kB / 434.5 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.902e-05/0.3456, allocations: 15.81 kB / 434.5 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.3458, allocations: 27.97 kB / 434.6 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.346, allocations: 59.78 kB / 434.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.3462, allocations: 40.12 kB / 434.7 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3463, allocations: 27.92 kB / 434.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.3464, allocations: 39.72 kB / 434.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3464, allocations: 12 kB / 434.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.646e-05/0.3465, allocations: 8 kB / 434.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.3465, allocations: 11.98 kB / 434.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.3465, allocations: 35.75 kB / 434.8 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3467, allocations: 73.19 kB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3467, allocations: 4 kB / 434.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3467, allocations: 0 / 434.9 MB, free: 4.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.3467, allocations: 0 / 434.9 MB, free: 4.48 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.000548/0.3473, allocations: 308.5 kB / 435.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3473, allocations: 16.03 kB / 435.2 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.3474, allocations: 20.83 kB / 435.2 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.3477, allocations: 130.4 kB / 435.3 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.3477, allocations: 4.375 kB / 435.3 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.3477, allocations: 4.375 kB / 435.3 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.348, allocations: 118.3 kB / 435.5 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.348, allocations: 4 kB / 435.5 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.348, allocations: 4 kB / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.348, allocations: 0 / 435.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.3482, allocations: 59.83 kB / 435.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.3489, allocations: 0.6099 MB / 436.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.3491, allocations: 117.1 kB / 436.2 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3492, allocations: 48.22 kB / 436.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.3493, allocations: 4 kB / 436.3 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.3493, allocations: 38.56 kB / 436.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3493, allocations: 3.938 kB / 436.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004565/0.3498, allocations: 118.1 kB / 436.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.3499, allocations: 170.2 kB / 436.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.35, allocations: 125.7 kB / 436.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.35, allocations: 29.7 kB / 436.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.3501, allocations: 100 kB / 436.9 MB, free: 2.219 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.3501, allocations: 11.91 kB / 436.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.3502, allocations: 25.7 kB / 436.9 MB, free: 2.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3503, allocations: 310.8 kB / 437.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.886e-05/0.3504, allocations: 23.98 kB / 437.2 MB, free: 1.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.664e-05/0.3505, allocations: 56.27 kB / 437.3 MB, free: 1.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3507, allocations: 76.2 kB / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3507, allocations: 0 / 437.4 MB, free: 1.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002294/0.3509, allocations: 101.5 kB / 437.5 MB, free: 1.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3509, allocations: 8.156 kB / 437.5 MB, free: 1.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3509, allocations: 4 kB / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3509, allocations: 0 / 437.5 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.351, allocations: 15.98 kB / 437.5 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.351, allocations: 3.938 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.3511, allocations: 7.938 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3511, allocations: 7.984 kB / 437.5 MB, free: 1.527 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.0001/0.3512, allocations: 117.9 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.3513, allocations: 11.95 kB / 437.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.679e-05/0.3513, allocations: 23.58 kB / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3513, allocations: 0 / 437.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.3514, allocations: 4 kB / 437.7 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3514, allocations: 3.938 kB / 437.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.3517, allocations: 160.6 kB / 437.8 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3517, allocations: 3.984 kB / 437.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.536e-05/0.3518, allocations: 12 kB / 437.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3518, allocations: 0 / 437.8 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3518, allocations: 7.938 kB / 437.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3518, allocations: 7.922 kB / 437.9 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.3518, allocations: 7.984 kB / 437.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003726/0.3522, allocations: 492.5 kB / 438.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.285e-05/0.3522, allocations: 11.95 kB / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.3522, allocations: 0 / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3524, allocations: 7.984 kB / 438.4 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.3525, allocations: 15.88 kB / 438.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.3525, allocations: 4 kB / 438.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.487e-05/0.3526, allocations: 91.27 kB / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3526, allocations: 0 / 438.5 MB, free: 500 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003773/0.3529, allocations: 12 kB / 438.5 MB, free: 488 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 9.754e-05/0.353, allocations: 103.2 kB / 438.6 MB, free: 376 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.3533, allocations: 51.91 kB / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3533, allocations: 0 / 438.6 MB, free: 324 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.3534, allocations: 40.41 kB / 438.7 MB, free: 284 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.3539, allocations: 8.125 kB / 438.7 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/0.3543, allocations: 228.4 kB / 438.9 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.3547, allocations: 0.6885 MB / 439.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.3547, allocations: 15.44 kB / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3547, allocations: 0 / 439.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Templates: time 0.002512/0.3572, allocations: 0.9096 MB / 440.5 MB, free: 14.36 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 -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: 7.078762736869976]