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: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles",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.001435/0.001435, allocations: 107.7 kB / 16.27 MB, free: 5.98 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.001223/0.001223, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.688/1.688, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2242/0.2242, allocations: 43.52 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.001579/0.001579, allocations: 68.2 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1017, allocations: 57.79 MB / 440.6 MB, free: 6.824 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.002162/0.1039, allocations: 493.4 kB / 441.1 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1058, allocations: 1.269 MB / 442.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.1059, allocations: 0 / 442.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.1059, allocations: 0 / 442.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1061, allocations: 11.98 kB / 442.4 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.1074, allocations: 243.2 kB / 442.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.693e-05/0.1075, allocations: 11.94 kB / 442.6 MB, free: 4.801 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.1075, allocations: 7.984 kB / 442.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.1076, allocations: 0 / 442.6 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1077, allocations: 15.3 kB / 442.6 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.1077, allocations: 4 kB / 442.7 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.1106, allocations: 0.6565 MB / 443.3 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.1106, allocations: 0 / 443.3 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.1106, allocations: 7.984 kB / 443.3 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1109, allocations: 183.6 kB / 443.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1109, allocations: 0 / 443.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1109, allocations: 0 / 443.5 MB, free: 4.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1109, allocations: 0 / 443.5 MB, free: 4.023 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.0003656/0.1113, allocations: 390.3 kB / 443.9 MB, free: 3.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1114, allocations: 15.89 kB / 443.9 MB, free: 3.574 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.877e-05/0.1114, allocations: 30.75 kB / 443.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.525e-05/0.1114, allocations: 0.9375 kB / 443.9 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.543e-05/0.1115, allocations: 168.4 kB / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1115, allocations: 384 / 444.1 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.083e-06/0.1115, allocations: 8.375 kB / 444.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.284e-05/0.1116, allocations: 33.58 kB / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1116, allocations: 0 / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.1116, allocations: 0 / 444.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1116, allocations: 4 kB / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.653e-05/0.1117, allocations: 0 / 444.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.1118, allocations: 145.7 kB / 444.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.721e-05/0.1118, allocations: 26.61 kB / 444.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.297e-05/0.1118, allocations: 4.859 kB / 444.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1119, allocations: 7.875 kB / 444.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1119, allocations: 60.33 kB / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1119, allocations: 0 / 444.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001766/0.1121, allocations: 67.38 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1121, allocations: 77.11 kB / 444.5 MB, free: 2.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.168e-05/0.1122, allocations: 102 kB / 444.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.1122, allocations: 25.7 kB / 444.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.603e-05/0.1122, allocations: 80.14 kB / 444.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.1122, allocations: 3.906 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.1123, allocations: 17.7 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.894e-05/0.1123, allocations: 314.8 kB / 445 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.1123, allocations: 0 / 445 MB, free: 2.227 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-06/0.1123, allocations: 7.938 kB / 445.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.1124, allocations: 64.45 kB / 445.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1124, allocations: 0 / 445.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.387e-05/0.1125, allocations: 67.33 kB / 445.2 MB, free: 2.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.1125, allocations: 33.7 kB / 445.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1125, allocations: 3.938 kB / 445.2 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1125, allocations: 3.938 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.585e-06/0.1125, allocations: 4 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.1125, allocations: 0 / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.924e-05/0.1126, allocations: 0 / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1126, allocations: 8.031 kB / 445.2 MB, free: 2.004 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.355e-05/0.1126, allocations: 139.5 kB / 445.4 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.1127, allocations: 7.922 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.1127, allocations: 11.05 kB / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1127, allocations: 0 / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1127, allocations: 0 / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1127, allocations: 0 / 445.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.808e-05/0.1128, allocations: 145.7 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1128, allocations: 3.938 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/0.1128, allocations: 7.984 kB / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1128, allocations: 0 / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1128, allocations: 0 / 445.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1128, allocations: 4 kB / 445.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1128, allocations: 0 / 445.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.542e-05/0.1129, allocations: 90.84 kB / 445.6 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.1129, allocations: 85.03 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1129, allocations: 0 / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.384e-05/0.113, allocations: 4.031 kB / 445.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.113, allocations: 4 kB / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.113, allocations: 0 / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.885e-05/0.113, allocations: 75.28 kB / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.51e-07/0.113, allocations: 0 / 445.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.1133, allocations: 63.92 kB / 445.9 MB, free: 1.266 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.0006838/0.114, allocations: 0.8636 MB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.1141, allocations: 63.41 kB / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1141, allocations: 4.062 kB / 446.8 MB, free: 316 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.1142, allocations: 63.33 kB / 446.9 MB, free: 240 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.1143, allocations: 0 / 446.9 MB, free: 240 kB / 318.1 MB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data") at compile-time; copying all loaded packages into the FMU Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/ReadStreamTestFile.txt") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.1147, allocations: 138.6 kB / 447 MB, free: 60 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1149, allocations: 0.6768 MB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.787e-06/0.1149, allocations: 3.938 kB / 447.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.115, allocations: 11.44 kB / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.115, allocations: 4.062 kB / 447.7 MB, free: 15.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09663/0.2116, allocations: 2.485 MB / 450.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.63, allocations: 16.64 kB / 450.2 MB, free: 12.79 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestFiles.fmu > 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