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.001067/0.001067, allocations: 108.1 kB / 17.03 MB, free: 5.664 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.001038/0.001038, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.43/1.43, 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.2049/0.2049, allocations: 43.52 MB / 314.7 MB, free: 484 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.001494/0.001494, allocations: 74.91 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1171, allocations: 57.79 MB / 441.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001624/0.1187, allocations: 0.4927 MB / 442.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1204, allocations: 1.262 MB / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.373e-05/0.1204, allocations: 0 / 443.7 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.1205, allocations: 3.938 kB / 443.7 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.1207, allocations: 3.984 kB / 443.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/0.1216, allocations: 248.6 kB / 444 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.075e-05/0.1216, allocations: 15.91 kB / 444 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.1217, allocations: 0 / 444 MB, free: 4.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.1217, allocations: 4 kB / 444 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.1218, allocations: 15.88 kB / 444 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.285e-06/0.1218, allocations: 0 / 444 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002796/0.1246, allocations: 0.6885 MB / 444.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-06/0.1246, allocations: 0 / 444.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.1246, allocations: 0 / 444.7 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.1249, allocations: 175.7 kB / 444.8 MB, free: 3.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1249, allocations: 3.938 kB / 444.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1249, allocations: 0 / 444.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1249, allocations: 0 / 444.9 MB, free: 3.348 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.0002988/0.1252, allocations: 389.1 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.1252, allocations: 15.89 kB / 445.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.1253, allocations: 0.9375 kB / 445.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.842e-05/0.1253, allocations: 164.4 kB / 445.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.1254, allocations: 384 / 445.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.1254, allocations: 4.375 kB / 445.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.239e-05/0.1255, allocations: 33.83 kB / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1255, allocations: 0 / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.1255, allocations: 0 / 445.4 MB, free: 2.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1255, allocations: 4 kB / 445.4 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.575e-05/0.1255, allocations: 4 kB / 445.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001041/0.1256, allocations: 145.7 kB / 445.6 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.724e-05/0.1257, allocations: 26.55 kB / 445.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.1257, allocations: 4.859 kB / 445.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.263e-06/0.1257, allocations: 0 / 445.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1257, allocations: 64.27 kB / 445.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1257, allocations: 4 kB / 445.7 MB, free: 2.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001463/0.1259, allocations: 67.33 kB / 445.8 MB, free: 2.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/0.1259, allocations: 77.11 kB / 445.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.705e-05/0.126, allocations: 97.86 kB / 445.9 MB, free: 2.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.126, allocations: 25.7 kB / 446 MB, free: 2.023 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.35e-05/0.126, allocations: 80.14 kB / 446 MB, free: 1.941 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.126, allocations: 3.906 kB / 446 MB, free: 1.938 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/0.126, allocations: 17.95 kB / 446.1 MB, free: 1.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.265e-05/0.1261, allocations: 318.8 kB / 446.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.138e-06/0.1261, allocations: 0 / 446.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.1261, allocations: 4 kB / 446.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.667e-05/0.1262, allocations: 60.27 kB / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1262, allocations: 0 / 446.4 MB, free: 1.516 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.444e-05/0.1262, allocations: 71.27 kB / 446.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1263, allocations: 29.7 kB / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.686e-06/0.1263, allocations: 96 / 446.5 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.1263, allocations: 7.938 kB / 446.5 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.1263, allocations: 4 kB / 446.5 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1263, allocations: 7.938 kB / 446.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.375e-05/0.1263, allocations: 0 / 446.5 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1263, allocations: 0 / 446.5 MB, free: 1.379 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.742e-05/0.1264, allocations: 143.5 kB / 446.7 MB, free: 1.223 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.1264, allocations: 7.922 kB / 446.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.746e-06/0.1264, allocations: 7.109 kB / 446.7 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.82e-07/0.1264, allocations: 4 kB / 446.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1264, allocations: 0 / 446.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1264, allocations: 0 / 446.7 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.73e-05/0.1265, allocations: 145.7 kB / 446.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1265, allocations: 3.984 kB / 446.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.173e-06/0.1265, allocations: 3.938 kB / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1265, allocations: 0 / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.1265, allocations: 0 / 446.9 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.1265, allocations: 4 kB / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1265, allocations: 0 / 446.9 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.977e-05/0.1266, allocations: 98.77 kB / 447 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.1266, allocations: 81.05 kB / 447 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1266, allocations: 0 / 447 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.1266, allocations: 0 / 447 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.561e-05/0.1267, allocations: 8 kB / 447 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.1267, allocations: 0 / 447 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.567e-05/0.1267, allocations: 75.28 kB / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1267, allocations: 128 / 447.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.127, allocations: 67.98 kB / 447.2 MB, free: 0.6328 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.0005184/0.1275, allocations: 334.6 kB / 447.5 MB, free: 324 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.669e-05/0.1276, allocations: 67.39 kB / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1276, allocations: 0 / 447.6 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.1276, allocations: 55.34 kB / 447.6 MB, free: 176 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001398/0.1278, allocations: 8 kB / 447.6 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001455/0.1279, allocations: 77.02 kB / 447.7 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1282, allocations: 0.6768 MB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.39e-06/0.1282, allocations: 0 / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-06/0.1282, allocations: 7.438 kB / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1282, allocations: 0 / 448.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of Templates: time 0.004492/0.1327, allocations: 1.597 MB / 450 MB, free: 13.75 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 gbode -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