Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.001695/0.001695, allocations: 107.5 kB / 19.69 MB, free: 2.203 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.002266/0.002266, allocations: 221.8 kB / 23.01 MB, free: 5.039 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.484/1.484, allocations: 207.6 MB / 233.8 MB, free: 9.977 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.2134/0.2134, allocations: 44.23 MB / 330.3 MB, free: 9.508 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.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.ComplexMath.TestComplexFunctions,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_ComplexMath_TestComplexFunctions",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.00233/0.00233, allocations: 67.91 kB / 467.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1425, allocations: 61.04 MB / 0.5161 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001757/0.1443, allocations: 494.7 kB / 0.5166 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004313/0.1486, allocations: 2.356 MB / 0.5189 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.1486, allocations: 0 / 0.5189 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.1486, allocations: 3.938 kB / 0.5189 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.706e-06/0.1486, allocations: 3.938 kB / 0.5189 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003487/0.1521, allocations: 1.207 MB / 0.5201 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.652e-05/0.1522, allocations: 3.938 kB / 0.5201 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.1522, allocations: 7.984 kB / 0.5201 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.409e-05/0.1522, allocations: 0 / 0.5201 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.189e-05/0.1523, allocations: 0 / 0.5201 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.304e-06/0.1523, allocations: 0 / 0.5201 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.154, allocations: 0.9873 MB / 0.5211 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.154, allocations: 0 / 0.5211 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.154, allocations: 4 kB / 0.5211 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006861/0.1547, allocations: 435.3 kB / 0.5215 GB, free: 1.836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1547, allocations: 0 / 0.5215 GB, free: 1.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1547, allocations: 0 / 0.5215 GB, free: 1.836 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1547, allocations: 0 / 0.5215 GB, free: 1.836 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.0005832/0.1553, allocations: 355.4 kB / 0.5218 GB, free: 1.453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/0.1554, allocations: 16.02 kB / 0.5218 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.1554, allocations: 34.69 kB / 0.5219 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.1555, allocations: 0.9375 kB / 0.5219 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1556, allocations: 102.5 kB / 0.522 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1556, allocations: 4.375 kB / 0.522 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1556, allocations: 4.375 kB / 0.522 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1558, allocations: 33.77 kB / 0.522 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1558, allocations: 0 / 0.522 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.1558, allocations: 4 kB / 0.522 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1558, allocations: 0 / 0.522 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.842e-05/0.1558, allocations: 0 / 0.522 GB, free: 1.219 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.1561, allocations: 120.8 kB / 0.5221 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.427e-05/0.1561, allocations: 22.61 kB / 0.5221 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.1561, allocations: 4.859 kB / 0.5221 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.1561, allocations: 0 / 0.5221 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.497e-05/0.1562, allocations: 68.2 kB / 0.5222 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 4.288e-06/0.1562, allocations: 3.984 kB / 0.5222 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002528/0.1565, allocations: 67.33 kB / 0.5223 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.1566, allocations: 81.11 kB / 0.5224 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.043e-05/0.1566, allocations: 93.98 kB / 0.5224 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.1567, allocations: 25.7 kB / 0.5225 GB, free: 0.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1567, allocations: 80.14 kB / 0.5225 GB, free: 0.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.1567, allocations: 0 / 0.5225 GB, free: 0.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.1568, allocations: 13.72 kB / 0.5226 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.157, allocations: 310.8 kB / 0.5229 GB, free: 216 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.157, allocations: 3.984 kB / 0.5229 GB, free: 212 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.157, allocations: 3.938 kB / 0.5229 GB, free: 208 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/0.1571, allocations: 68.33 kB / 0.5229 GB, free: 124 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1571, allocations: 0 / 0.5229 GB, free: 124 kB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.627e-05/0.1572, allocations: 59.41 kB / 0.523 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.19e-05/0.1573, allocations: 33.64 kB / 0.523 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1573, allocations: 3.984 kB / 0.523 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.1573, allocations: 4 kB / 0.523 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.1573, allocations: 0 / 0.523 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1573, allocations: 0 / 0.523 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.678e-05/0.1573, allocations: 0 / 0.523 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.1573, allocations: 0 / 0.523 GB, free: 4 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.0001766/0.1575, allocations: 143.6 kB / 0.5232 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.1575, allocations: 3.938 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.432e-05/0.1575, allocations: 3 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.1575, allocations: 0 / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1575, allocations: 3.938 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1575, allocations: 4 kB / 0.5232 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1577, allocations: 124.7 kB / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1577, allocations: 0 / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-07/0.1577, allocations: 0 / 0.5233 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1577, allocations: 7.938 kB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1577, allocations: 0 / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1577, allocations: 4 kB / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1577, allocations: 0 / 0.5233 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1578, allocations: 86.83 kB / 0.5234 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.758e-06/0.1578, allocations: 7.938 kB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.1578, allocations: 0 / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-06/0.1578, allocations: 3.969 kB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.1579, allocations: 4 kB / 0.5234 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1579, allocations: 4 kB / 0.5234 GB, free: 15.53 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.711e-05/0.1579, allocations: 79.27 kB / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1579, allocations: 0 / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.1584, allocations: 143.6 kB / 0.5236 GB, free: 15.31 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.001303/0.1597, allocations: 0.8956 MB / 0.5245 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.1599, allocations: 67.39 kB / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1599, allocations: 0 / 0.5246 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.253e-05/0.1599, allocations: 51.41 kB / 0.5246 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.1601, allocations: 11.88 kB / 0.5246 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.1605, allocations: 182.1 kB / 0.5248 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1609, allocations: 0.669 MB / 0.5254 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.48e-06/0.1609, allocations: 0 / 0.5254 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.518e-05/0.1609, allocations: 7.438 kB / 0.5255 GB, free: 13.31 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1609, allocations: 0 / 0.5255 GB, free: 13.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.2035, allocations: 5.433 MB / 0.5308 GB, free: 7.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.72, allocations: 11.92 kB / 0.5308 GB, free: 7.859 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_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_TestComplexFunctions.fmu > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.883619863001513]