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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 105 kB / 18.9 MB, free: 3.164 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001912/0.001912, allocations: 197.9 kB / 22.06 MB, free: 16 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 207.6 MB / 232.6 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2497/0.2497, allocations: 44.25 MB / 328.9 MB, free: 10.13 MB / 270.1 MB [Timeout remaining time 89] 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: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] 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.002192/0.002192, allocations: 75.81 kB / 465.9 MB, free: 5.156 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1586, allocations: 61 MB / 0.5145 GB, free: 8.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001831/0.1605, allocations: 486.8 kB / 0.515 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003857/0.1643, allocations: 2.335 MB / 0.5173 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.1643, allocations: 0 / 0.5173 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.895e-05/0.1644, allocations: 0 / 0.5173 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.262e-06/0.1644, allocations: 0 / 0.5173 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.1673, allocations: 1.14 MB / 0.5184 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.373e-05/0.1673, allocations: 7.984 kB / 0.5184 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.1674, allocations: 4 kB / 0.5184 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.828e-05/0.1674, allocations: 0 / 0.5184 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.565e-05/0.1674, allocations: 3.938 kB / 0.5184 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.1674, allocations: 0 / 0.5184 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.1691, allocations: 0.995 MB / 0.5194 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.1691, allocations: 0 / 0.5194 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.1691, allocations: 3.984 kB / 0.5194 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006348/0.1698, allocations: 419.1 kB / 0.5198 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1698, allocations: 0 / 0.5198 GB, free: 2.617 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1698, allocations: 0 / 0.5198 GB, free: 2.617 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1698, allocations: 0 / 0.5198 GB, free: 2.617 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.0005955/0.1704, allocations: 428.5 kB / 0.5202 GB, free: 2.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.1704, allocations: 11.89 kB / 0.5202 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.1705, allocations: 8.938 kB / 0.5202 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1706, allocations: 172.4 kB / 0.5204 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1706, allocations: 384 / 0.5204 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.1706, allocations: 384 / 0.5204 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.1707, allocations: 37.95 kB / 0.5204 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1707, allocations: 0 / 0.5204 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1708, allocations: 0 / 0.5204 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1708, allocations: 0 / 0.5204 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.042e-05/0.1708, allocations: 0 / 0.5204 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.171, allocations: 153.7 kB / 0.5206 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.171, allocations: 14.58 kB / 0.5206 GB, free: 1.652 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.264e-05/0.1711, allocations: 12.8 kB / 0.5206 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-06/0.1711, allocations: 0 / 0.5206 GB, free: 1.637 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.931e-05/0.1711, allocations: 64.3 kB / 0.5207 GB, free: 1.559 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.1711, allocations: 0 / 0.5207 GB, free: 1.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002172/0.1714, allocations: 67.42 kB / 0.5207 GB, free: 1.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.933e-05/0.1714, allocations: 81.14 kB / 0.5208 GB, free: 1.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.991e-05/0.1715, allocations: 89.86 kB / 0.5209 GB, free: 1.285 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1715, allocations: 25.7 kB / 0.5209 GB, free: 1.254 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.903e-05/0.1715, allocations: 88.12 kB / 0.521 GB, free: 1.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1716, allocations: 0 / 0.521 GB, free: 1.164 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.022e-05/0.1716, allocations: 13.72 kB / 0.521 GB, free: 1.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1717, allocations: 310.8 kB / 0.5213 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.1717, allocations: 0 / 0.5213 GB, free: 0.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-06/0.1718, allocations: 19.86 kB / 0.5213 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.109e-05/0.1718, allocations: 56.27 kB / 0.5214 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1718, allocations: 4 kB / 0.5214 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.713e-05/0.1719, allocations: 59.41 kB / 0.5214 GB, free: 0.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.1719, allocations: 37.64 kB / 0.5215 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.1719, allocations: 0 / 0.5215 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.172, allocations: 3.984 kB / 0.5215 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.172, allocations: 0 / 0.5215 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.172, allocations: 4.094 kB / 0.5215 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.618e-05/0.172, allocations: 0 / 0.5215 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.172, allocations: 0 / 0.5215 GB, free: 0.6172 MB / 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.0001135/0.1721, allocations: 135.5 kB / 0.5216 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.1721, allocations: 7.875 kB / 0.5216 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.552e-05/0.1721, allocations: 3.125 kB / 0.5216 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.1721, allocations: 0 / 0.5216 GB, free: 464 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1721, allocations: 4 kB / 0.5216 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.1721, allocations: 0 / 0.5216 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.1723, allocations: 153.7 kB / 0.5218 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1723, allocations: 0 / 0.5218 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.1723, allocations: 0 / 0.5218 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1723, allocations: 3.938 kB / 0.5218 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1723, allocations: 4 kB / 0.5218 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1723, allocations: 0 / 0.5218 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1723, allocations: 0 / 0.5218 GB, free: 248 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.1724, allocations: 90.83 kB / 0.5219 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.558e-05/0.1724, allocations: 85.14 kB / 0.5219 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.1725, allocations: 3.938 kB / 0.522 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.1725, allocations: 0 / 0.522 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.303e-05/0.1725, allocations: 3.984 kB / 0.522 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1725, allocations: 4 kB / 0.522 GB, free: 16 kB / 398.1 MB Notification: Performance of sorting global known variables: time 5.603e-05/0.1725, allocations: 79.27 kB / 0.522 GB, free: 15.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1725, allocations: 3.938 kB / 0.522 GB, free: 15.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004408/0.173, allocations: 139.6 kB / 0.5222 GB, free: 15.8 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.0008019/0.1738, allocations: 372 kB / 0.5225 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.1739, allocations: 59.39 kB / 0.5226 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1739, allocations: 64 / 0.5226 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.174, allocations: 59.41 kB / 0.5226 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.1741, allocations: 7.547 kB / 0.5226 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002239/0.1743, allocations: 114.6 kB / 0.5228 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.1747, allocations: 0.669 MB / 0.5234 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.789e-05/0.1747, allocations: 15.38 kB / 0.5234 GB, free: 14.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1747, allocations: 0 / 0.5234 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Templates: time 0.007069/0.1818, allocations: 3.631 MB / 0.527 GB, free: 10.79 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 480] 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