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.001021/0.001021, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 204.4 kB / 16.79 MB, free: 6.84 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.267/1.267, allocations: 205.1 MB / 222.6 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2808/0.2808, allocations: 43.5 MB / 313.5 MB, free: 8.305 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.00137/0.00137, allocations: 78.55 kB / 382.1 MB, free: 8.418 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1027, allocations: 57.78 MB / 439.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001599/0.1043, allocations: 0.5503 MB / 440.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1061, allocations: 1.284 MB / 441.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.1062, allocations: 0 / 441.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.1062, allocations: 0 / 441.7 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.1063, allocations: 4 kB / 441.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008442/0.1072, allocations: 191.6 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.713e-05/0.1072, allocations: 15.94 kB / 441.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.177e-05/0.1073, allocations: 4 kB / 442 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.1073, allocations: 3.938 kB / 442 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.315e-05/0.1074, allocations: 11.98 kB / 442 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.193e-06/0.1074, allocations: 0 / 442 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.1102, allocations: 0.6311 MB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.793e-06/0.1102, allocations: 0 / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.1102, allocations: 3.938 kB / 442.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1105, allocations: 179.7 kB / 442.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1105, allocations: 0 / 442.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1105, allocations: 0 / 442.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1105, allocations: 3.938 kB / 442.8 MB, free: 11.69 MB / 382.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.0003472/0.1108, allocations: 385.1 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1109, allocations: 16.03 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.1109, allocations: 30.75 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.417e-05/0.111, allocations: 0.9375 kB / 443.2 MB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.1111, allocations: 164.4 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1111, allocations: 4.375 kB / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.1111, allocations: 384 / 443.4 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.606e-05/0.1112, allocations: 37.58 kB / 443.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.1112, allocations: 4 kB / 443.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.313e-06/0.1112, allocations: 0 / 443.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/0.1112, allocations: 4 kB / 443.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.1113, allocations: 4 kB / 443.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000132/0.1114, allocations: 149.7 kB / 443.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.965e-05/0.1114, allocations: 14.58 kB / 443.6 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.536e-05/0.1115, allocations: 8.922 kB / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.1115, allocations: 3.938 kB / 443.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.1115, allocations: 64.27 kB / 443.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1115, allocations: 3.938 kB / 443.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001735/0.1117, allocations: 63.39 kB / 443.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1118, allocations: 81.11 kB / 443.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.1118, allocations: 93.86 kB / 443.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1119, allocations: 25.7 kB / 443.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.1119, allocations: 88.08 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.1119, allocations: 7.891 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.112, allocations: 13.97 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1121, allocations: 310.8 kB / 444.3 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-06/0.1121, allocations: 4 kB / 444.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.1121, allocations: 0 / 444.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.78e-05/0.1122, allocations: 68.2 kB / 444.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1122, allocations: 0 / 444.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.571e-05/0.1123, allocations: 67.33 kB / 444.5 MB, free: 9.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.1123, allocations: 29.7 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1123, allocations: 8.094 kB / 444.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1123, allocations: 0 / 444.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.1123, allocations: 0 / 444.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1124, allocations: 0 / 444.5 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.1124, allocations: 3.984 kB / 444.5 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1124, allocations: 0 / 444.5 MB, free: 9.684 MB / 382.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 9.268e-05/0.1125, allocations: 147.5 kB / 444.6 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.1125, allocations: 3.938 kB / 444.7 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.466e-06/0.1125, allocations: 3.125 kB / 444.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.1125, allocations: 7.938 kB / 444.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1125, allocations: 4 kB / 444.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-06/0.1125, allocations: 0 / 444.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.063e-05/0.1126, allocations: 145.7 kB / 444.8 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1126, allocations: 3.938 kB / 444.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.743e-06/0.1126, allocations: 3.938 kB / 444.8 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1126, allocations: 4 kB / 444.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.1126, allocations: 0 / 444.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1127, allocations: 0 / 444.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1127, allocations: 0 / 444.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.45e-05/0.1127, allocations: 94.83 kB / 444.9 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.1128, allocations: 81.05 kB / 445 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.1128, allocations: 0 / 445 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.263e-05/0.1128, allocations: 8 kB / 445 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.1128, allocations: 0 / 445 MB, free: 9.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1128, allocations: 0 / 445 MB, free: 9.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.017e-05/0.1129, allocations: 83.28 kB / 445.1 MB, free: 8.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1129, allocations: 8.062 kB / 445.1 MB, free: 8.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002726/0.1132, allocations: 63.98 kB / 445.2 MB, free: 8.926 MB / 382.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.0007599/0.1139, allocations: 0.8473 MB / 446 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.989e-05/0.114, allocations: 59.39 kB / 446.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.114, allocations: 0 / 446.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.1141, allocations: 55.41 kB / 446.1 MB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.1142, allocations: 11.88 kB / 446.1 MB, free: 7.895 MB / 382.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.0003581/0.1146, allocations: 152.3 kB / 446.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1148, allocations: 0.677 MB / 446.9 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.195e-06/0.1148, allocations: 0 / 446.9 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.1148, allocations: 15.44 kB / 447 MB, free: 6.988 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1148, allocations: 0 / 447 MB, free: 6.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.475/1.59, allocations: 2.383 MB / 449.3 MB, free: 4.578 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.59, allocations: 221.8 kB / 449.6 MB, free: 4.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.774/3.364, allocations: 0 / 449.6 MB, free: 4.324 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches