Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.001179/0.001179, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.001269/0.001269, allocations: 165.9 kB / 23.96 MB, free: 0.6055 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8248/0.8248, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1329/0.1329, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 408.1 MB, free: 1.766 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.358e-05/3.534e-05, allocations: 2.281 kB / 408.1 MB, free: 1.762 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001551/0.001586, allocations: 0.4984 MB / 408.6 MB, free: 1.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005533/0.002139, allocations: 257 kB / 408.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.962e-05/0.002169, allocations: 0 / 408.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.002187, allocations: 0 / 408.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.021e-06/0.002193, allocations: 0 / 408.8 MB, free: 1.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.002521, allocations: 59.73 kB / 408.9 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.00258, allocations: 7.938 kB / 408.9 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.002625, allocations: 4 kB / 408.9 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.913e-05/0.002654, allocations: 0 / 408.9 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.576e-05/0.00268, allocations: 3.984 kB / 408.9 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.002689, allocations: 0 / 408.9 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001338/0.002823, allocations: 59.89 kB / 409 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.584e-06/0.002831, allocations: 0 / 409 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.002852, allocations: 4 kB / 409 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.002985, allocations: 67.78 kB / 409 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.002991, allocations: 0 / 409 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.002993, allocations: 0 / 409 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.002998, allocations: 4 kB / 409 MB, free: 0.8125 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003101/0.003308, allocations: 287.9 kB / 409.3 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.003343, allocations: 8.031 kB / 409.3 MB, free: 496 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.003382, allocations: 0.9375 kB / 409.3 MB, free: 496 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.003445, allocations: 105.7 kB / 409.4 MB, free: 364 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.003457, allocations: 4.375 kB / 409.4 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-06/0.003465, allocations: 4.312 kB / 409.4 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.366e-05/0.003559, allocations: 59.95 kB / 409.5 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.003567, allocations: 192 / 409.5 MB, free: 284 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.003577, allocations: 4.375 kB / 409.5 MB, free: 280 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.003582, allocations: 4.375 kB / 409.5 MB, free: 276 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.003606, allocations: 29.64 kB / 409.5 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.952e-05/0.003695, allocations: 101.3 kB / 409.6 MB, free: 108 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.593e-05/0.003741, allocations: 48.22 kB / 409.7 MB, free: 44 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.00376, allocations: 34.66 kB / 409.7 MB, free: 0 / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.003767, allocations: 0 / 409.7 MB, free: 0 / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.003825, allocations: 64.25 kB / 409.8 MB, free: 15.92 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.003826, allocations: 0 / 409.8 MB, free: 15.92 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001677/0.003994, allocations: 110.8 kB / 409.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.004031, allocations: 81.11 kB / 410 MB, free: 15.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.003e-05/0.004061, allocations: 97.97 kB / 410 MB, free: 15.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.004069, allocations: 25.7 kB / 410.1 MB, free: 15.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.004088, allocations: 80.14 kB / 410.2 MB, free: 15.47 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.004104, allocations: 7.953 kB / 410.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.004128, allocations: 17.66 kB / 410.2 MB, free: 15.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.004209, allocations: 314.8 kB / 410.5 MB, free: 15.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.779e-05/0.004227, allocations: 25.7 kB / 410.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.376e-05/0.00424, allocations: 29.7 kB / 410.5 MB, free: 15.06 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.004277, allocations: 64.27 kB / 410.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004279, allocations: 0 / 410.6 MB, free: 14.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.091e-05/0.00434, allocations: 89.16 kB / 410.7 MB, free: 14.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.00437, allocations: 33.7 kB / 410.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.004375, allocations: 0 / 410.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.004386, allocations: 0 / 410.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.004387, allocations: 0 / 410.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.004391, allocations: 0 / 410.7 MB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.654e-05/0.004408, allocations: 15.81 kB / 410.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.004417, allocations: 3.984 kB / 410.7 MB, free: 14.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 5.811e-05/0.004475, allocations: 131.5 kB / 410.9 MB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.004481, allocations: 8.031 kB / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.607e-06/0.00449, allocations: 7 kB / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.004491, allocations: 0 / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004494, allocations: 0 / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.004496, allocations: 0 / 410.9 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.951e-05/0.004546, allocations: 105.2 kB / 411 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.004547, allocations: 0 / 411 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.004547, allocations: 0 / 411 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.004548, allocations: 0 / 411 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.004554, allocations: 3.938 kB / 411 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.004554, allocations: 0 / 411 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.004556, allocations: 3.984 kB / 411 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.322e-05/0.00463, allocations: 124.5 kB / 411.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-06/0.004634, allocations: 4 kB / 411.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.004643, allocations: 0 / 411.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-06/0.004649, allocations: 0 / 411.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.091e-05/0.00466, allocations: 3.938 kB / 411.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.004661, allocations: 0 / 411.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.737e-05/0.004679, allocations: 79.28 kB / 411.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004679, allocations: 0 / 411.2 MB, free: 14.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001544/0.004833, allocations: 23.92 kB / 411.2 MB, free: 14.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004157/0.005249, allocations: 293.9 kB / 411.5 MB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.005353, allocations: 110.8 kB / 411.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.005355, allocations: 3.938 kB / 411.6 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.44e-05/0.005379, allocations: 85.09 kB / 411.7 MB, free: 13.74 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.118e-05/0.00547, allocations: 4 kB / 411.7 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001695/0.00564, allocations: 128.5 kB / 411.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.412e-05/0.005674, allocations: 51.36 kB / 411.9 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.005689, allocations: 12.48 kB / 411.9 MB, free: 13.49 MB / 394.7 MB Notification: Performance of SimCode: time 5.21e-07/0.00569, allocations: 3.938 kB / 411.9 MB, free: 13.48 MB / 394.7 MB Notification: Performance of Templates: time 0.001848/0.007537, allocations: 0.9793 MB / 412.9 MB, free: 12.5 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.706377130933106]