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.001326/0.001326, 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.002241/0.002241, allocations: 214.5 kB / 22.99 MB, free: 4.602 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.522/1.522, allocations: 207.7 MB / 233.8 MB, free: 9.797 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.2344/0.2344, allocations: 44.26 MB / 330.3 MB, free: 9.324 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.002234/0.002234, allocations: 67.91 kB / 467.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1296, allocations: 61.04 MB / 0.5161 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001638/0.1312, allocations: 494.7 kB / 0.5166 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.1347, allocations: 2.208 MB / 0.5188 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.1348, allocations: 0 / 0.5188 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.062e-05/0.1348, allocations: 0 / 0.5188 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.1348, allocations: 3.938 kB / 0.5188 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.1376, allocations: 1.164 MB / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.711e-05/0.1376, allocations: 0 / 0.5199 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.1377, allocations: 4 kB / 0.5199 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.1377, allocations: 4 kB / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.105e-05/0.1377, allocations: 0 / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.1377, allocations: 0 / 0.5199 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.1393, allocations: 0.9326 MB / 0.5208 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.144e-05/0.1393, allocations: 3.984 kB / 0.5208 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1393, allocations: 4 kB / 0.5208 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.1399, allocations: 411.4 kB / 0.5212 GB, free: 1.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1399, allocations: 3.984 kB / 0.5212 GB, free: 1.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1399, allocations: 0 / 0.5212 GB, free: 1.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1399, allocations: 0 / 0.5212 GB, free: 1.984 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.0004551/0.1404, allocations: 351.4 kB / 0.5215 GB, free: 1.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1404, allocations: 8.031 kB / 0.5216 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.1404, allocations: 30.75 kB / 0.5216 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.846e-05/0.1405, allocations: 4.922 kB / 0.5216 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.225e-05/0.1406, allocations: 110.5 kB / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1406, allocations: 384 / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.1406, allocations: 4.375 kB / 0.5217 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.1407, allocations: 59.53 kB / 0.5218 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1407, allocations: 3.938 kB / 0.5218 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1407, allocations: 0 / 0.5218 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1407, allocations: 0 / 0.5218 GB, free: 1.344 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.1407, allocations: 29.64 kB / 0.5218 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001417/0.1409, allocations: 124.8 kB / 0.5219 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.1409, allocations: 44.31 kB / 0.5219 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.087e-05/0.141, allocations: 30.56 kB / 0.522 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.141, allocations: 0 / 0.522 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/0.141, allocations: 68.27 kB / 0.522 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.141, allocations: 0 / 0.522 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002409/0.1413, allocations: 126.7 kB / 0.5222 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.1413, allocations: 77.11 kB / 0.5222 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.1414, allocations: 89.86 kB / 0.5223 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1414, allocations: 25.7 kB / 0.5223 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.1415, allocations: 80.14 kB / 0.5224 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.1415, allocations: 0 / 0.5224 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.1415, allocations: 13.72 kB / 0.5224 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1417, allocations: 318.8 kB / 0.5227 GB, free: 176 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.78e-05/0.1417, allocations: 33.83 kB / 0.5228 GB, free: 136 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.1417, allocations: 29.64 kB / 0.5228 GB, free: 100 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.749e-05/0.1418, allocations: 60.27 kB / 0.5229 GB, free: 24 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1418, allocations: 0 / 0.5229 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001181/0.1419, allocations: 97.03 kB / 0.523 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.704e-05/0.142, allocations: 33.64 kB / 0.523 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.142, allocations: 0 / 0.523 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.142, allocations: 0 / 0.523 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.142, allocations: 0 / 0.523 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.142, allocations: 4.094 kB / 0.523 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.432e-05/0.142, allocations: 4 kB / 0.523 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.142, allocations: 4 kB / 0.523 GB, free: 15.86 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.0001085/0.1421, allocations: 139.5 kB / 0.5231 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.1421, allocations: 3.938 kB / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.374e-05/0.1421, allocations: 6.984 kB / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1421, allocations: 0 / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1421, allocations: 0 / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.1421, allocations: 0 / 0.5231 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.1422, allocations: 124.7 kB / 0.5233 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1422, allocations: 0 / 0.5233 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.1422, allocations: 4 kB / 0.5233 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1422, allocations: 3.938 kB / 0.5233 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1423, allocations: 3.984 kB / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1423, allocations: 0 / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1423, allocations: 4 kB / 0.5233 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.1424, allocations: 116.5 kB / 0.5234 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.688e-06/0.1424, allocations: 7.922 kB / 0.5234 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1424, allocations: 0 / 0.5234 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.1424, allocations: 0 / 0.5234 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.1424, allocations: 4 kB / 0.5234 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1424, allocations: 4.031 kB / 0.5234 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.932e-05/0.1425, allocations: 75.28 kB / 0.5235 GB, free: 15.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1425, allocations: 0 / 0.5235 GB, free: 15.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.1429, allocations: 143.6 kB / 0.5236 GB, free: 15.14 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.001153/0.1441, allocations: 0.9283 MB / 0.5245 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1442, allocations: 110.8 kB / 0.5246 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1442, allocations: 4 kB / 0.5246 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.496e-05/0.1443, allocations: 81.09 kB / 0.5247 GB, free: 13.94 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.1444, allocations: 7.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.0004969/0.1449, allocations: 203.8 kB / 0.5249 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.691e-05/0.145, allocations: 59.34 kB / 0.525 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.961e-06/0.145, allocations: 4.125 kB / 0.525 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.145, allocations: 7.438 kB / 0.525 GB, free: 13.6 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.145, allocations: 0 / 0.525 GB, free: 13.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.1835, allocations: 5.839 MB / 0.5307 GB, free: 7.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.86, allocations: 7.984 kB / 0.5307 GB, free: 7.742 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexOperations_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 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.mat","/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.980198444798589]