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.001648/0.001648, allocations: 76.5 kB / 19.93 MB, free: 1.781 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.001661/0.001661, allocations: 165.1 kB / 23.21 MB, free: 4.91 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.604/1.604, allocations: 158.6 MB / 185 MB, free: 6.395 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.2374/0.2374, allocations: 32.38 MB / 269.6 MB, free: 4.672 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: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 407.3 MB, free: 3.051 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.546e-05/4.767e-05, allocations: 2.281 kB / 407.3 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001944/0.001992, allocations: 478.6 kB / 407.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004494/0.006486, allocations: 2.219 MB / 410 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.00653, allocations: 0 / 410 MB, free: 352 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.006552, allocations: 4 kB / 410 MB, free: 348 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 1.062e-05/0.006562, allocations: 3.938 kB / 410 MB, free: 344 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.01056, allocations: 1.155 MB / 411.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.894e-05/0.01064, allocations: 0 / 411.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.022e-05/0.0107, allocations: 0 / 411.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.093e-05/0.01075, allocations: 4 kB / 411.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.01079, allocations: 7.922 kB / 411.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.0108, allocations: 0 / 411.2 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.01269, allocations: 0.9325 MB / 412.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.0127, allocations: 0 / 412.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.01273, allocations: 0 / 412.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000933/0.01366, allocations: 0.5145 MB / 412.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.01367, allocations: 0 / 412.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.01367, allocations: 0 / 412.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.01368, allocations: 0 / 412.6 MB, free: 13.72 MB / 350.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.000639/0.01432, allocations: 363.3 kB / 413 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.01438, allocations: 8.031 kB / 413 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.01442, allocations: 0.9375 kB / 413 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.01455, allocations: 101.8 kB / 413.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.01458, allocations: 4.375 kB / 413.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.0146, allocations: 384 / 413.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.01478, allocations: 59.97 kB / 413.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.01479, allocations: 192 / 413.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.0148, allocations: 384 / 413.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.01481, allocations: 3.938 kB / 413.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.686e-05/0.01486, allocations: 33.62 kB / 413.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.015, allocations: 101.3 kB / 413.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.114e-05/0.01507, allocations: 40.28 kB / 413.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.01511, allocations: 34.66 kB / 413.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.01512, allocations: 0 / 413.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/0.01517, allocations: 56.27 kB / 413.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=1): time 2.965e-06/0.01517, allocations: 4 kB / 413.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002621/0.01544, allocations: 122.7 kB / 413.5 MB, free: 12.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.01551, allocations: 85.05 kB / 413.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.01557, allocations: 89.86 kB / 413.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.01559, allocations: 25.7 kB / 413.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.01563, allocations: 80.14 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.01566, allocations: 3.953 kB / 413.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.0157, allocations: 21.7 kB / 413.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.01585, allocations: 310.8 kB / 414.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.303e-05/0.01589, allocations: 25.7 kB / 414.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.49e-05/0.01591, allocations: 33.83 kB / 414.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.655e-05/0.01598, allocations: 60.27 kB / 414.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01598, allocations: 0 / 414.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001016/0.01608, allocations: 97.03 kB / 414.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.01612, allocations: 37.64 kB / 414.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.01613, allocations: 0 / 414.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.01615, allocations: 0 / 414.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.01615, allocations: 0 / 414.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.01616, allocations: 3.938 kB / 414.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.01618, allocations: 4 kB / 414.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.01619, allocations: 8.078 kB / 414.4 MB, free: 11.66 MB / 350.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.000111/0.0163, allocations: 135.5 kB / 414.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.01631, allocations: 4 kB / 414.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.393e-05/0.01633, allocations: 3 kB / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-07/0.01633, allocations: 0 / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.01633, allocations: 0 / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.01634, allocations: 7.875 kB / 414.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.927e-05/0.01644, allocations: 101.3 kB / 414.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.01644, allocations: 0 / 414.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.01644, allocations: 0 / 414.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.01644, allocations: 7.984 kB / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.01645, allocations: 0 / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.01645, allocations: 0 / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01645, allocations: 0 / 414.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.01662, allocations: 124.4 kB / 414.8 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.01663, allocations: 4 kB / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.01664, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-06/0.01665, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.01667, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-06/0.01668, allocations: 0 / 414.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.381e-05/0.01672, allocations: 83.22 kB / 414.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01672, allocations: 4.031 kB / 414.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004547/0.01717, allocations: 143.5 kB / 415 MB, free: 10.98 MB / 350.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.0009171/0.01809, allocations: 394.6 kB / 415.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001822/0.01827, allocations: 114.8 kB / 415.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01828, allocations: 0 / 415.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.962e-05/0.01835, allocations: 89.05 kB / 415.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.01849, allocations: 2.344 kB / 415.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.01877, allocations: 106.7 kB / 415.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.01883, allocations: 55.36 kB / 415.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.654e-06/0.01884, allocations: 0 / 415.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.01885, allocations: 8.5 kB / 415.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.01885, allocations: 8.125 kB / 415.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of Templates: time 0.01003/0.02889, allocations: 4.35 MB / 420.1 MB, free: 5.77 MB / 350.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins/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.487497806549072]