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.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: "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 101.7 kB / 16.26 MB, free: 5.93 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.001619/0.001619, allocations: 189.5 kB / 17.2 MB, free: 5.574 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.626/1.626, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2105/0.2105, allocations: 43.53 MB / 313.9 MB, free: 0.5273 MB / 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.001538/0.001538, allocations: 68.28 kB / 382.8 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1147, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001836/0.1165, allocations: 489.4 kB / 441.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005372/0.1171, allocations: 255.8 kB / 441.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.1171, allocations: 0 / 441.3 MB, free: 6.086 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.1172, allocations: 4 kB / 441.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.1172, allocations: 0 / 441.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.1175, allocations: 51.83 kB / 441.4 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.751e-05/0.1175, allocations: 3.938 kB / 441.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.1176, allocations: 0 / 441.4 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.972e-05/0.1176, allocations: 8 kB / 441.4 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.577e-05/0.1177, allocations: 3.984 kB / 441.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.1177, allocations: 0 / 441.4 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.1178, allocations: 59.95 kB / 441.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.246e-06/0.1178, allocations: 0 / 441.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.1178, allocations: 0 / 441.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.118, allocations: 63.86 kB / 441.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.118, allocations: 0 / 441.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.118, allocations: 0 / 441.5 MB, free: 5.895 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.118, allocations: 0 / 441.5 MB, free: 5.895 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.0003233/0.1183, allocations: 365.2 kB / 441.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1184, allocations: 11.89 kB / 441.9 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.027e-05/0.1184, allocations: 34.75 kB / 441.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.1184, allocations: 0.9375 kB / 441.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.612e-05/0.1185, allocations: 164.7 kB / 442.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.306e-06/0.1185, allocations: 384 / 442.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.1185, allocations: 384 / 442.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.453e-05/0.1186, allocations: 30.27 kB / 442.1 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.1186, allocations: 3.938 kB / 442.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.1187, allocations: 0 / 442.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1187, allocations: 7.938 kB / 442.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.1187, allocations: 0 / 442.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.958e-05/0.1188, allocations: 153.7 kB / 442.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.711e-05/0.1188, allocations: 14.58 kB / 442.3 MB, free: 4.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.1189, allocations: 8.953 kB / 442.3 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1189, allocations: 3.938 kB / 442.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1189, allocations: 64.2 kB / 442.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.1189, allocations: 0 / 442.4 MB, free: 4.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001682/0.1191, allocations: 75.27 kB / 442.5 MB, free: 4.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.1191, allocations: 77.11 kB / 442.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.217e-05/0.1192, allocations: 89.86 kB / 442.6 MB, free: 4.586 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-06/0.1192, allocations: 25.7 kB / 442.6 MB, free: 4.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.197e-05/0.1192, allocations: 80.14 kB / 442.7 MB, free: 4.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1192, allocations: 7.938 kB / 442.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.1192, allocations: 9.844 kB / 442.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.191e-05/0.1193, allocations: 314.8 kB / 443 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.1193, allocations: 4 kB / 443 MB, free: 4.129 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.1193, allocations: 7.984 kB / 443.1 MB, free: 4.121 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.476e-05/0.1194, allocations: 64.2 kB / 443.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1194, allocations: 0 / 443.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.142e-05/0.1194, allocations: 55.41 kB / 443.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.1195, allocations: 33.7 kB / 443.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1195, allocations: 8.031 kB / 443.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1195, allocations: 3.984 kB / 443.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1195, allocations: 0 / 443.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1195, allocations: 0 / 443.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.643e-05/0.1195, allocations: 0 / 443.2 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.1195, allocations: 4 kB / 443.2 MB, free: 3.922 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 5.867e-05/0.1196, allocations: 139.5 kB / 443.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.1196, allocations: 0 / 443.4 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.174e-05/0.1196, allocations: 19.05 kB / 443.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.1196, allocations: 4 kB / 443.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1196, allocations: 0 / 443.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1197, allocations: 0 / 443.4 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.774e-05/0.1197, allocations: 145.7 kB / 443.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1197, allocations: 0 / 443.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.1197, allocations: 0 / 443.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.1197, allocations: 4 kB / 443.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1197, allocations: 3.938 kB / 443.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1197, allocations: 0 / 443.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1198, allocations: 3.938 kB / 443.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.724e-05/0.1198, allocations: 94.83 kB / 443.6 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.1199, allocations: 81.05 kB / 443.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1199, allocations: 3.938 kB / 443.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.1199, allocations: 0 / 443.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.1199, allocations: 4 kB / 443.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.1199, allocations: 0 / 443.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.449e-05/0.1199, allocations: 83.2 kB / 443.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1199, allocations: 0 / 443.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1202, allocations: 28.03 kB / 443.8 MB, free: 3.211 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.0006037/0.1208, allocations: 0.7927 MB / 444.6 MB, free: 2.449 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.1209, allocations: 59.41 kB / 444.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1209, allocations: 0 / 444.7 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.1209, allocations: 55.39 kB / 444.7 MB, free: 2.312 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1211, allocations: 6.812 kB / 444.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.1213, allocations: 114.6 kB / 444.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.27e-05/0.1214, allocations: 0.6729 MB / 445.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.565e-06/0.1214, allocations: 8.109 kB / 445.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.087e-05/0.1214, allocations: 15.31 kB / 445.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1214, allocations: 0 / 445.5 MB, free: 1.434 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.1379, allocations: 1.595 MB / 447.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.43, allocations: 4.875 kB / 447.1 MB, free: 15.82 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches