Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 114.6 kB / 19.69 MB, free: 2.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 215.8 kB / 23 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 207.6 MB / 233.8 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2481/0.2481, allocations: 44.23 MB / 330.3 MB, free: 9.539 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexOperations,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 80.3 kB / 467.5 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1306, allocations: 61.05 MB / 0.5161 GB, free: 7.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001874/0.1324, allocations: 490.7 kB / 0.5166 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003788/0.1362, allocations: 2.356 MB / 0.5189 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.1363, allocations: 0 / 0.5189 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.38e-05/0.1363, allocations: 0 / 0.5189 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.763e-06/0.1363, allocations: 7.938 kB / 0.5189 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.1395, allocations: 1.211 MB / 0.5201 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.071e-05/0.1396, allocations: 4 kB / 0.5201 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.569e-05/0.1396, allocations: 3.938 kB / 0.5201 GB, free: 3.289 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.1396, allocations: 4 kB / 0.5201 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.1397, allocations: 0 / 0.5201 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-06/0.1397, allocations: 0 / 0.5201 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.1413, allocations: 0.995 MB / 0.5211 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.906e-06/0.1413, allocations: 0 / 0.5211 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.262e-05/0.1413, allocations: 4 kB / 0.5211 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.1419, allocations: 427.4 kB / 0.5215 GB, free: 1.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1419, allocations: 0 / 0.5215 GB, free: 1.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1419, allocations: 0 / 0.5215 GB, free: 1.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1419, allocations: 0 / 0.5215 GB, free: 1.867 MB / 398.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.0004615/0.1424, allocations: 359.3 kB / 0.5218 GB, free: 1.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1424, allocations: 8.031 kB / 0.5218 GB, free: 1.473 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.201e-05/0.1425, allocations: 34.75 kB / 0.5219 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.1425, allocations: 0.9375 kB / 0.5219 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1426, allocations: 106.5 kB / 0.522 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-06/0.1426, allocations: 8.312 kB / 0.522 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1426, allocations: 384 / 0.522 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.854e-05/0.1427, allocations: 37.83 kB / 0.522 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1427, allocations: 0 / 0.522 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.1427, allocations: 0 / 0.522 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1427, allocations: 0 / 0.522 GB, free: 1.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.166e-05/0.1427, allocations: 4 kB / 0.522 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.1429, allocations: 120.7 kB / 0.5221 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/0.143, allocations: 22.61 kB / 0.5221 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.496e-05/0.143, allocations: 4.859 kB / 0.5222 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-06/0.143, allocations: 0 / 0.5222 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.143, allocations: 64.2 kB / 0.5222 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.143, allocations: 0 / 0.5222 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001973/0.1432, allocations: 67.39 kB / 0.5223 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.1433, allocations: 77.11 kB / 0.5223 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.955e-05/0.1433, allocations: 97.92 kB / 0.5224 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1434, allocations: 29.7 kB / 0.5225 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.448e-05/0.1434, allocations: 80.14 kB / 0.5225 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.1434, allocations: 0 / 0.5225 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1435, allocations: 13.72 kB / 0.5226 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1436, allocations: 314.8 kB / 0.5229 GB, free: 244 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.1436, allocations: 0 / 0.5229 GB, free: 244 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.1436, allocations: 4 kB / 0.5229 GB, free: 240 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.972e-05/0.1437, allocations: 68.31 kB / 0.5229 GB, free: 156 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1437, allocations: 0 / 0.5229 GB, free: 156 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.504e-05/0.1438, allocations: 67.34 kB / 0.523 GB, free: 76 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.1438, allocations: 33.64 kB / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1438, allocations: 0 / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1438, allocations: 0 / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1438, allocations: 0 / 0.523 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1438, allocations: 4 kB / 0.523 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.1438, allocations: 0 / 0.523 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1439, allocations: 3.984 kB / 0.523 GB, free: 28 kB / 398.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 0.0001239/0.144, allocations: 139.6 kB / 0.5232 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-06/0.144, allocations: 3.938 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.035e-05/0.144, allocations: 3 kB / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.144, allocations: 0 / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.144, allocations: 0 / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.144, allocations: 0 / 0.5232 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.1441, allocations: 124.8 kB / 0.5233 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1441, allocations: 0 / 0.5233 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.1441, allocations: 0 / 0.5233 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1441, allocations: 15.86 kB / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1441, allocations: 0 / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.1441, allocations: 0 / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1441, allocations: 0 / 0.5233 GB, free: 15.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.1442, allocations: 94.77 kB / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-06/0.1443, allocations: 3.938 kB / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.1443, allocations: 4 kB / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.1443, allocations: 0 / 0.5234 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.081e-05/0.1443, allocations: 4.031 kB / 0.5234 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.1443, allocations: 3.938 kB / 0.5234 GB, free: 15.56 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.821e-05/0.1443, allocations: 75.28 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1443, allocations: 0 / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004364/0.1448, allocations: 143.6 kB / 0.5236 GB, free: 15.34 MB / 414.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.001033/0.1458, allocations: 0.8996 MB / 0.5245 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.1459, allocations: 63.34 kB / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1459, allocations: 0 / 0.5246 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.365e-05/0.146, allocations: 63.39 kB / 0.5246 GB, free: 14.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001401/0.1461, allocations: 7.938 kB / 0.5246 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.1465, allocations: 170.1 kB / 0.5248 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1468, allocations: 0.6768 MB / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.101e-06/0.1468, allocations: 0 / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.612e-05/0.1468, allocations: 7.438 kB / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1468, allocations: 0 / 0.5255 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.1791, allocations: 5.427 MB / 0.5308 GB, free: 7.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.53, allocations: 12.05 kB / 0.5308 GB, free: 7.891 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.868782641002326]