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.001778/0.001778, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002201/0.002201, allocations: 208.6 kB / 22.99 MB, free: 4.605 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.499/1.499, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.2348/0.2348, allocations: 44.26 MB / 330.3 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 180] 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.002515/0.002515, allocations: 72.5 kB / 467.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1376, allocations: 61.04 MB / 0.5161 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001927/0.1396, allocations: 490.7 kB / 0.5166 GB, free: 6.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.1439, allocations: 2.208 MB / 0.5188 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.008e-05/0.144, allocations: 0 / 0.5188 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.144, allocations: 0 / 0.5188 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.144, allocations: 3.938 kB / 0.5188 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003395/0.1474, allocations: 1.152 MB / 0.5199 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.876e-05/0.1474, allocations: 7.984 kB / 0.5199 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.1475, allocations: 0 / 0.5199 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.93e-05/0.1475, allocations: 4 kB / 0.5199 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.491e-05/0.1475, allocations: 0 / 0.5199 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.113e-06/0.1475, allocations: 0 / 0.5199 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/0.1492, allocations: 0.9287 MB / 0.5208 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.1492, allocations: 0 / 0.5208 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.1493, allocations: 12 kB / 0.5208 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000676/0.1499, allocations: 415.4 kB / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1499, allocations: 0 / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1499, allocations: 0 / 0.5212 GB, free: 1.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.15, allocations: 0 / 0.5212 GB, free: 1.977 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.0005168/0.1505, allocations: 355.3 kB / 0.5215 GB, free: 1.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/0.1505, allocations: 12.03 kB / 0.5216 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.1506, allocations: 30.75 kB / 0.5216 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.1506, allocations: 0.9375 kB / 0.5216 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1507, allocations: 110.5 kB / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1507, allocations: 384 / 0.5217 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1507, allocations: 8.375 kB / 0.5217 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001182/0.1509, allocations: 59.52 kB / 0.5218 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.1509, allocations: 3.938 kB / 0.5218 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.1509, allocations: 4 kB / 0.5218 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1509, allocations: 0 / 0.5218 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.293e-05/0.1509, allocations: 29.64 kB / 0.5218 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.1512, allocations: 116.8 kB / 0.5219 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.425e-05/0.1512, allocations: 44.28 kB / 0.5219 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.212e-05/0.1513, allocations: 38.64 kB / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.817e-06/0.1513, allocations: 0 / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.725e-05/0.1514, allocations: 68.14 kB / 0.522 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1514, allocations: 0 / 0.522 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002508/0.1516, allocations: 122.7 kB / 0.5222 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.1517, allocations: 77.11 kB / 0.5222 GB, free: 0.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.103e-05/0.1517, allocations: 93.86 kB / 0.5223 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.1518, allocations: 25.7 kB / 0.5224 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.79e-05/0.1518, allocations: 80.14 kB / 0.5224 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.1518, allocations: 0 / 0.5224 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.302e-05/0.1519, allocations: 13.72 kB / 0.5224 GB, free: 484 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.152, allocations: 314.8 kB / 0.5227 GB, free: 160 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.1521, allocations: 29.83 kB / 0.5228 GB, free: 124 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.172e-05/0.1521, allocations: 29.7 kB / 0.5228 GB, free: 88 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.1521, allocations: 60.25 kB / 0.5229 GB, free: 12 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1521, allocations: 4 kB / 0.5229 GB, free: 8 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001313/0.1523, allocations: 89.05 kB / 0.5229 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.1523, allocations: 37.64 kB / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.1523, allocations: 3.984 kB / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1523, allocations: 0 / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.1523, allocations: 0 / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1524, allocations: 4.094 kB / 0.523 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.589e-05/0.1524, allocations: 0 / 0.523 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1524, allocations: 4 kB / 0.523 GB, free: 15.85 MB / 414.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.0001851/0.1526, allocations: 131.5 kB / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1526, allocations: 3.938 kB / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-06/0.1526, allocations: 7 kB / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.1526, allocations: 0 / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1526, allocations: 0 / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1526, allocations: 0 / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.1527, allocations: 124.7 kB / 0.5232 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.1527, allocations: 0 / 0.5232 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-06/0.1527, allocations: 12 kB / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1527, allocations: 3.938 kB / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1527, allocations: 4 kB / 0.5233 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.1527, allocations: 0 / 0.5233 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.1527, allocations: 0 / 0.5233 GB, free: 15.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.1529, allocations: 120.5 kB / 0.5234 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-06/0.1529, allocations: 3.938 kB / 0.5234 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1529, allocations: 4 kB / 0.5234 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-06/0.1529, allocations: 0 / 0.5234 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.1529, allocations: 0 / 0.5234 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.1529, allocations: 4.031 kB / 0.5234 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.153, allocations: 79.27 kB / 0.5235 GB, free: 15.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.153, allocations: 7.938 kB / 0.5235 GB, free: 15.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004537/0.1535, allocations: 135.6 kB / 0.5236 GB, free: 15.13 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.001258/0.1548, allocations: 0.9283 MB / 0.5245 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000191/0.155, allocations: 114.8 kB / 0.5246 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.155, allocations: 0 / 0.5246 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/0.155, allocations: 81.11 kB / 0.5247 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1552, allocations: 3.938 kB / 0.5247 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.1556, allocations: 207.8 kB / 0.5249 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.051e-05/0.1557, allocations: 55.48 kB / 0.525 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.701e-06/0.1557, allocations: 4 kB / 0.525 GB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.1557, allocations: 11.44 kB / 0.525 GB, free: 13.59 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1557, allocations: 0 / 0.525 GB, free: 13.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.1926, allocations: 5.832 MB / 0.5307 GB, free: 7.746 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.03, allocations: 11.97 kB / 0.5307 GB, free: 7.734 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: 15.274048948194832]