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.001645/0.001645, allocations: 79.19 kB / 20.52 MB, free: 1.281 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.001924/0.001924, allocations: 167.4 kB / 23.77 MB, free: 4.461 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.492/1.492, allocations: 158.6 MB / 185.5 MB, free: 6.215 MB / 174.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.2323/0.2323, allocations: 32.38 MB / 270.1 MB, free: 2.703 MB / 254.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: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.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.002221/0.002221, allocations: 67.91 kB / 407.7 MB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1509, allocations: 61.04 MB / 468.8 MB, free: 8.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001803/0.1527, allocations: 490.8 kB / 469.2 MB, free: 7.859 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003798/0.1565, allocations: 2.212 MB / 471.5 MB, free: 5.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.78e-05/0.1565, allocations: 0 / 471.5 MB, free: 5.625 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.1565, allocations: 4 kB / 471.5 MB, free: 5.621 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.1565, allocations: 3.938 kB / 471.5 MB, free: 5.617 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.1596, allocations: 1.148 MB / 472.6 MB, free: 4.465 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.518e-05/0.1596, allocations: 4 kB / 472.6 MB, free: 4.461 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.1597, allocations: 3.938 kB / 472.6 MB, free: 4.457 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.1597, allocations: 4 kB / 472.6 MB, free: 4.453 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.457e-05/0.1597, allocations: 7.984 kB / 472.6 MB, free: 4.445 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-06/0.1597, allocations: 0 / 472.6 MB, free: 4.445 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.1615, allocations: 0.9287 MB / 473.6 MB, free: 3.516 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-06/0.1615, allocations: 0 / 473.6 MB, free: 3.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.1615, allocations: 0 / 473.6 MB, free: 3.516 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000679/0.1622, allocations: 415.1 kB / 474 MB, free: 3.109 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1622, allocations: 0 / 474 MB, free: 3.109 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1622, allocations: 0 / 474 MB, free: 3.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1622, allocations: 0 / 474 MB, free: 3.109 MB / 446.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.0004775/0.1627, allocations: 355.3 kB / 474.3 MB, free: 2.727 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1627, allocations: 12.03 kB / 474.3 MB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.1628, allocations: 0.9375 kB / 474.3 MB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.751e-05/0.1629, allocations: 106.5 kB / 474.4 MB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1629, allocations: 4.375 kB / 474.4 MB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.1629, allocations: 4.375 kB / 474.4 MB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.163, allocations: 59.7 kB / 474.5 MB, free: 2.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.163, allocations: 7.984 kB / 474.5 MB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.163, allocations: 3.938 kB / 474.5 MB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.163, allocations: 0 / 474.5 MB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.375e-05/0.1631, allocations: 29.64 kB / 474.5 MB, free: 2.461 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001166/0.1632, allocations: 101.3 kB / 474.6 MB, free: 2.332 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.635e-05/0.1632, allocations: 44.28 kB / 474.7 MB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.554e-05/0.1633, allocations: 34.66 kB / 474.7 MB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.1633, allocations: 0 / 474.7 MB, free: 2.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/0.1634, allocations: 60.25 kB / 474.8 MB, free: 2.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1634, allocations: 0 / 474.8 MB, free: 2.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000218/0.1636, allocations: 122.7 kB / 474.9 MB, free: 2.012 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.1637, allocations: 81.11 kB / 475 MB, free: 1.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.1637, allocations: 93.84 kB / 475.1 MB, free: 1.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1638, allocations: 25.83 kB / 475.1 MB, free: 1.781 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.1638, allocations: 84.14 kB / 475.2 MB, free: 1.695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.1638, allocations: 0 / 475.2 MB, free: 1.695 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.1639, allocations: 13.72 kB / 475.2 MB, free: 1.676 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.164, allocations: 310.8 kB / 475.5 MB, free: 1.363 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.1641, allocations: 29.7 kB / 475.5 MB, free: 1.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.1641, allocations: 29.7 kB / 475.5 MB, free: 1.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.728e-05/0.1642, allocations: 64.25 kB / 475.6 MB, free: 1.215 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1642, allocations: 0 / 475.6 MB, free: 1.215 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.1643, allocations: 89.05 kB / 475.7 MB, free: 1.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.1643, allocations: 37.8 kB / 475.7 MB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1644, allocations: 3.938 kB / 475.7 MB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1644, allocations: 3.938 kB / 475.7 MB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.1644, allocations: 0 / 475.7 MB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1644, allocations: 0 / 475.7 MB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.1644, allocations: 3.984 kB / 475.7 MB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.1644, allocations: 4 kB / 475.7 MB, free: 1.051 MB / 446.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.0001447/0.1646, allocations: 131.5 kB / 475.9 MB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.1646, allocations: 4 kB / 475.9 MB, free: 0.9023 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.61e-05/0.1646, allocations: 6.938 kB / 475.9 MB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1646, allocations: 4 kB / 475.9 MB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1646, allocations: 0 / 475.9 MB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1646, allocations: 0 / 475.9 MB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1647, allocations: 97.31 kB / 476 MB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1647, allocations: 7.938 kB / 476 MB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.1647, allocations: 0 / 476 MB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1647, allocations: 0 / 476 MB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.1647, allocations: 0 / 476 MB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.1647, allocations: 3.938 kB / 476 MB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1647, allocations: 3.984 kB / 476 MB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.1649, allocations: 124.5 kB / 476.1 MB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.1649, allocations: 7.953 kB / 476.1 MB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.1649, allocations: 8 kB / 476.1 MB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.058e-05/0.1649, allocations: 3.938 kB / 476.1 MB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.1649, allocations: 0 / 476.1 MB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1649, allocations: 0 / 476.1 MB, free: 0.5781 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.461e-05/0.165, allocations: 79.28 kB / 476.2 MB, free: 0.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.165, allocations: 0 / 476.2 MB, free: 0.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004693/0.1654, allocations: 143.5 kB / 476.4 MB, free: 368 kB / 446.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.3412/0.5066, allocations: 372.8 kB / 476.7 MB, free: 49.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.5068, allocations: 110.5 kB / 476.8 MB, free: 49.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5068, allocations: 0 / 476.8 MB, free: 49.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.5068, allocations: 82.67 kB / 476.9 MB, free: 49.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.507, allocations: 5.859 kB / 476.9 MB, free: 49.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.5073, allocations: 116.5 kB / 477 MB, free: 49.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.524e-05/0.5073, allocations: 58.98 kB / 477.1 MB, free: 49.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.091e-06/0.5073, allocations: 0 / 477.1 MB, free: 49.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.5073, allocations: 11.34 kB / 477.1 MB, free: 49.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.041e-06/0.5073, allocations: 0 / 477.1 MB, free: 49.58 MB / 446.1 MB Notification: Performance of Templates: time 0.008466/0.5158, allocations: 4.288 MB / 481.4 MB, free: 49.24 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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 [Calling sys.exit(0), Time elapsed: 5.615439106011763]