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.001582/0.001582, allocations: 77.98 kB / 19.93 MB, free: 1.781 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.001603/0.001603, allocations: 161.8 kB / 23.21 MB, free: 4.906 MB / 14.72 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 1.562/1.562, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.2178/0.2178, allocations: 32.37 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] 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.543e-06/1.543e-06, allocations: 0 / 407.3 MB, free: 3.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.401e-05/3.556e-05, allocations: 2.281 kB / 407.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001569/0.001604, allocations: 499 kB / 407.8 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008003/0.002405, allocations: 257 kB / 408.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.002438, allocations: 0 / 408.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.323e-05/0.002451, allocations: 0 / 408.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.242e-06/0.002457, allocations: 0 / 408.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.002849, allocations: 51.7 kB / 408.1 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.634e-05/0.002916, allocations: 3.984 kB / 408.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.002965, allocations: 8 kB / 408.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.404e-05/0.002999, allocations: 0 / 408.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.795e-05/0.003037, allocations: 0 / 408.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.00305, allocations: 0 / 408.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.003313, allocations: 67.88 kB / 408.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.003324, allocations: 0 / 408.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.832e-05/0.003352, allocations: 4 kB / 408.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.003545, allocations: 63.8 kB / 408.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.003548, allocations: 0 / 408.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.003549, allocations: 3.938 kB / 408.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.003554, allocations: 0 / 408.3 MB, free: 2.105 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000463/0.004017, allocations: 291.9 kB / 408.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.004063, allocations: 8.031 kB / 408.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.004106, allocations: 0.9375 kB / 408.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.004231, allocations: 105.8 kB / 408.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.004251, allocations: 8.312 kB / 408.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.004262, allocations: 4.359 kB / 408.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.004396, allocations: 55.97 kB / 408.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.004405, allocations: 192 / 408.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.004415, allocations: 384 / 408.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.00442, allocations: 384 / 408.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.004464, allocations: 29.64 kB / 408.8 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.004639, allocations: 113.3 kB / 408.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.911e-05/0.004718, allocations: 44.22 kB / 408.9 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.004757, allocations: 34.66 kB / 408.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.004768, allocations: 0 / 408.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.867e-05/0.004846, allocations: 56.27 kB / 409 MB, free: 1.219 MB / 334.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.004847, allocations: 0 / 409 MB, free: 1.219 MB / 334.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002436/0.005091, allocations: 122.7 kB / 409.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.005172, allocations: 81.11 kB / 409.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.005228, allocations: 89.86 kB / 409.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.005246, allocations: 25.83 kB / 409.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.061e-05/0.005296, allocations: 84.14 kB / 409.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.005321, allocations: 3.953 kB / 409.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.005355, allocations: 13.72 kB / 409.4 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001913/0.005546, allocations: 318.8 kB / 409.7 MB, free: 428 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.005577, allocations: 29.69 kB / 409.8 MB, free: 392 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/0.005598, allocations: 29.7 kB / 409.8 MB, free: 356 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.065e-05/0.005669, allocations: 60.27 kB / 409.8 MB, free: 280 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005671, allocations: 0 / 409.8 MB, free: 280 kB / 334.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.853e-05/0.005769, allocations: 93.03 kB / 409.9 MB, free: 168 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.005805, allocations: 37.8 kB / 410 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.005813, allocations: 4 kB / 410 MB, free: 120 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.005828, allocations: 3.938 kB / 410 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.005828, allocations: 0 / 410 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.005833, allocations: 0 / 410 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.005851, allocations: 7.938 kB / 410 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.005859, allocations: 0 / 410 MB, free: 108 kB / 334.1 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 0.0001302/0.005989, allocations: 131.5 kB / 410.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-06/0.005999, allocations: 4 kB / 410.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.006015, allocations: 6.984 kB / 410.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006017, allocations: 4 kB / 410.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.006021, allocations: 0 / 410.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.006024, allocations: 0 / 410.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.798e-05/0.006122, allocations: 105.2 kB / 410.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/0.006123, allocations: 0 / 410.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.006124, allocations: 0 / 410.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.006125, allocations: 3.938 kB / 410.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.006132, allocations: 0 / 410.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006133, allocations: 0 / 410.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.006134, allocations: 0 / 410.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.006275, allocations: 128.4 kB / 410.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-06/0.006281, allocations: 4 kB / 410.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.006293, allocations: 0 / 410.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.894e-05/0.006312, allocations: 7.984 kB / 410.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.006325, allocations: 0 / 410.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.006327, allocations: 0 / 410.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.919e-05/0.006376, allocations: 79.28 kB / 410.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.006376, allocations: 0 / 410.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.006609, allocations: 15.94 kB / 410.5 MB, free: 15.55 MB / 350.1 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.0007907/0.007399, allocations: 304.6 kB / 410.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.007551, allocations: 110.8 kB / 410.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.007553, allocations: 0 / 410.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.705e-05/0.00763, allocations: 81.11 kB / 411 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.007767, allocations: 4 kB / 411 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.008029, allocations: 110.7 kB / 411.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.821e-05/0.008098, allocations: 55.48 kB / 411.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.711e-06/0.008103, allocations: 0 / 411.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.008119, allocations: 8.5 kB / 411.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.00812, allocations: 4 kB / 411.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Templates: time 0.004353/0.01247, allocations: 0.8209 MB / 412 MB, free: 14.02 MB / 350.1 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: 5.088246569037437]