Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001413, allocations: 115.5 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2149/0.2149, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 63.77 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1077, allocations: 57.79 MB / 442 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001538/0.1093, allocations: 488.5 kB / 442.4 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1108, allocations: 1.265 MB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.1109, allocations: 0 / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.503e-05/0.1109, allocations: 0 / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1111, allocations: 11.92 kB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1121, allocations: 256.5 kB / 444 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.216e-05/0.1122, allocations: 11.98 kB / 444 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.1122, allocations: 0 / 444 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.849e-05/0.1122, allocations: 7.938 kB / 444 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/0.1123, allocations: 4 kB / 444 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.1123, allocations: 0 / 444 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.115, allocations: 0.6955 MB / 444.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.1151, allocations: 0 / 444.7 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.1151, allocations: 3.938 kB / 444.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.1153, allocations: 179.7 kB / 444.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1153, allocations: 0 / 444.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1153, allocations: 0 / 444.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1153, allocations: 0 / 444.9 MB, free: 3.375 MB / 318.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.000302/0.1156, allocations: 381.1 kB / 445.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1157, allocations: 19.89 kB / 445.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.1157, allocations: 0.9375 kB / 445.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.004e-05/0.1158, allocations: 164.4 kB / 445.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1158, allocations: 384 / 445.4 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.1159, allocations: 8.312 kB / 445.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.154e-05/0.1159, allocations: 29.83 kB / 445.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.116, allocations: 0 / 445.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.116, allocations: 0 / 445.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.116, allocations: 4 kB / 445.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.685e-05/0.116, allocations: 4 kB / 445.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.57e-05/0.1161, allocations: 149.7 kB / 445.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.085e-05/0.1161, allocations: 18.61 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.1162, allocations: 8.797 kB / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.1162, allocations: 0 / 445.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1162, allocations: 64.27 kB / 445.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1162, allocations: 4 kB / 445.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001538/0.1164, allocations: 67.39 kB / 445.8 MB, free: 2.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.1164, allocations: 77.11 kB / 445.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.272e-05/0.1165, allocations: 93.86 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.532e-06/0.1165, allocations: 25.7 kB / 446 MB, free: 2.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.512e-05/0.1165, allocations: 84.12 kB / 446 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.1165, allocations: 7.844 kB / 446.1 MB, free: 1.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.1165, allocations: 17.97 kB / 446.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.1166, allocations: 314.8 kB / 446.4 MB, free: 1.625 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.1166, allocations: 3.938 kB / 446.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.801e-06/0.1166, allocations: 4 kB / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/0.1166, allocations: 60.27 kB / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1167, allocations: 0 / 446.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.579e-05/0.1167, allocations: 71.33 kB / 446.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1167, allocations: 29.7 kB / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1168, allocations: 96 / 446.5 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1168, allocations: 4 kB / 446.5 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.1168, allocations: 4 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1168, allocations: 0 / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.325e-05/0.1168, allocations: 0 / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.1168, allocations: 0 / 446.5 MB, free: 1.418 MB / 318.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 4.971e-05/0.1169, allocations: 147.4 kB / 446.7 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.285e-06/0.1169, allocations: 7.875 kB / 446.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.927e-06/0.1169, allocations: 3.125 kB / 446.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.1169, allocations: 0 / 446.7 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1169, allocations: 4 kB / 446.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.1169, allocations: 0 / 446.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.277e-05/0.117, allocations: 157.7 kB / 446.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.117, allocations: 0 / 446.9 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.72e-07/0.117, allocations: 3.938 kB / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.117, allocations: 0 / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.117, allocations: 0 / 446.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.117, allocations: 7.984 kB / 446.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.117, allocations: 0 / 446.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.025e-05/0.1171, allocations: 94.83 kB / 447 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.1171, allocations: 81.05 kB / 447 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1171, allocations: 0 / 447 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.395e-06/0.1171, allocations: 0 / 447 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.456e-05/0.1172, allocations: 4 kB / 447 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1172, allocations: 0 / 447 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.61e-05/0.1172, allocations: 79.22 kB / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.02e-07/0.1172, allocations: 0 / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.1175, allocations: 76.05 kB / 447.2 MB, free: 0.6562 MB / 318.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.0005183/0.118, allocations: 323.7 kB / 447.5 MB, free: 356 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.744e-05/0.1181, allocations: 71.39 kB / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1181, allocations: 0 / 447.6 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.1181, allocations: 55.39 kB / 447.6 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001241/0.1182, allocations: 7.938 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001832/0.1184, allocations: 81.02 kB / 447.7 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1187, allocations: 0.6768 MB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.382e-06/0.1187, allocations: 0 / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-06/0.1187, allocations: 7.438 kB / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1187, allocations: 0 / 448.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of Templates: time 0.00497/0.1237, allocations: 1.602 MB / 450 MB, free: 13.77 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches