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.0008633/0.0008633, allocations: 79.92 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001322/0.001322, allocations: 169 kB / 24.14 MB, free: 360 kB / 18.57 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.016/1.016, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.1316/0.1316, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 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: 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 1.502e-06/1.502e-06, allocations: 0 / 299.1 MB, free: 2.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.424e-05, allocations: 2.312 kB / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.00124/0.001265, allocations: 0.5251 MB / 299.6 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1784/0.1797, allocations: 2.296 MB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.1797, allocations: 0 / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.358e-05/0.1797, allocations: 0.9375 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.843e-06/0.1797, allocations: 3.938 kB / 301.9 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002415/0.1822, allocations: 1.133 MB / 303 MB, free: 19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.1822, allocations: 1.797 kB / 303 MB, free: 19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.1822, allocations: 2.609 kB / 303 MB, free: 19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.783e-05/0.1823, allocations: 1.062 kB / 303 MB, free: 19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.077e-05/0.1823, allocations: 5.766 kB / 303 MB, free: 19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.384e-06/0.1823, allocations: 0 / 303 MB, free: 19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.184, allocations: 1.024 MB / 304.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.184, allocations: 0 / 304.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.46e-05/0.184, allocations: 1.625 kB / 304.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007636/0.1848, allocations: 0.4996 MB / 304.6 MB, free: 18.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1848, allocations: 3.781 kB / 304.6 MB, free: 18.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1848, allocations: 0 / 304.6 MB, free: 18.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1848, allocations: 0 / 304.6 MB, free: 18.66 MB / 282.7 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.0004235/0.1852, allocations: 335.9 kB / 304.9 MB, free: 18.35 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1852, allocations: 8.938 kB / 304.9 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.359e-05/0.1852, allocations: 2.125 kB / 304.9 MB, free: 18.35 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.524e-05/0.1853, allocations: 107.9 kB / 305 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.1853, allocations: 1.5 kB / 305 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-06/0.1853, allocations: 1.656 kB / 305 MB, free: 18.22 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.527e-05/0.1853, allocations: 56.69 kB / 305.1 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1854, allocations: 192 / 305.1 MB, free: 18.16 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.1854, allocations: 7.078 kB / 305.1 MB, free: 18.15 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1854, allocations: 7.125 kB / 305.1 MB, free: 18.15 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.284e-05/0.1854, allocations: 28.75 kB / 305.1 MB, free: 18.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.445e-05/0.1854, allocations: 55.91 kB / 305.2 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.477e-05/0.1855, allocations: 47.81 kB / 305.2 MB, free: 17.99 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.1855, allocations: 36.52 kB / 305.2 MB, free: 17.95 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-06/0.1855, allocations: 1.078 kB / 305.2 MB, free: 17.95 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.1855, allocations: 59.11 kB / 305.3 MB, free: 17.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.1855, allocations: 0 / 305.3 MB, free: 17.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.056e-05/0.1856, allocations: 114.6 kB / 305.4 MB, free: 17.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.1856, allocations: 78.69 kB / 305.5 MB, free: 17.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.41e-05/0.1856, allocations: 89.86 kB / 305.6 MB, free: 17.56 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.1856, allocations: 27.59 kB / 305.6 MB, free: 17.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.077e-05/0.1857, allocations: 84.08 kB / 305.7 MB, free: 17.45 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.1857, allocations: 6.609 kB / 305.7 MB, free: 17.44 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.1857, allocations: 13.28 kB / 305.7 MB, free: 17.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.1857, allocations: 317.2 kB / 306 MB, free: 17.11 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.1858, allocations: 26.27 kB / 306 MB, free: 17.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.1858, allocations: 31.59 kB / 306.1 MB, free: 17.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/0.1858, allocations: 65.67 kB / 306.1 MB, free: 16.97 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1858, allocations: 0 / 306.1 MB, free: 16.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.471e-05/0.1859, allocations: 84.8 kB / 306.2 MB, free: 16.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.1859, allocations: 31.97 kB / 306.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1859, allocations: 2.344 kB / 306.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1859, allocations: 0 / 306.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.037e-06/0.1859, allocations: 5.719 kB / 306.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.1859, allocations: 0 / 306.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.1859, allocations: 5.469 kB / 306.3 MB, free: 16.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1859, allocations: 8.5 kB / 306.3 MB, free: 16.83 MB / 282.7 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 4.535e-05/0.186, allocations: 134.9 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-06/0.186, allocations: 3 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.186e-05/0.186, allocations: 4.547 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.186, allocations: 0 / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.186, allocations: 1.25 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.186, allocations: 0.6562 kB / 306.4 MB, free: 16.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.138e-05/0.186, allocations: 65.12 kB / 306.5 MB, free: 16.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.186, allocations: 3.938 kB / 306.5 MB, free: 16.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.81e-07/0.186, allocations: 1.344 kB / 306.5 MB, free: 16.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.186, allocations: 4.656 kB / 306.5 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-06/0.186, allocations: 1.062 kB / 306.5 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.186, allocations: 1.062 kB / 306.5 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1861, allocations: 1.859 kB / 306.5 MB, free: 16.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.786e-05/0.1861, allocations: 123.6 kB / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-06/0.1861, allocations: 0.5625 kB / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1861, allocations: 2.094 kB / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.174e-06/0.1861, allocations: 1.438 kB / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.069e-05/0.1862, allocations: 0.5156 kB / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.1862, allocations: 1.438 kB / 306.6 MB, free: 16.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.081e-06/0.1862, allocations: 12.84 kB / 306.6 MB, free: 16.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1862, allocations: 0 / 306.6 MB, free: 16.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004688/0.1866, allocations: 142 kB / 306.8 MB, free: 16.4 MB / 282.7 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.0006005/0.1872, allocations: 399.6 kB / 307.2 MB, free: 16.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.236e-05/0.1873, allocations: 116.3 kB / 307.3 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1873, allocations: 0 / 307.3 MB, free: 16.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.1873, allocations: 86.92 kB / 307.4 MB, free: 16.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.954e-05/0.1874, allocations: 8.484 kB / 307.4 MB, free: 16.01 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001227/0.1875, allocations: 109.5 kB / 307.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.592e-05/0.1875, allocations: 53.33 kB / 307.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.721e-06/0.1875, allocations: 4.125 kB / 307.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.1875, allocations: 62.2 kB / 307.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1876, allocations: 0 / 307.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of Templates: time 0.008312/0.1959, allocations: 5.68 MB / 313.3 MB, free: 13.9 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2512213732115924]