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.001065/0.001065, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001129/0.001129, allocations: 169 kB / 24.24 MB, free: 312 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 0.9495/0.9495, allocations: 158.6 MB / 186 MB, free: 2.91 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.1539/0.1539, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.883e-06/1.883e-06, allocations: 0 / 347.6 MB, free: 9.828 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.99e-05, allocations: 6.312 kB / 347.6 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001277/0.001297, allocations: 0.4994 MB / 348.1 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003047/0.004344, allocations: 2.268 MB / 350.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.312e-05/0.004377, allocations: 0 / 350.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.004393, allocations: 0 / 350.4 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.004401, allocations: 4 kB / 350.4 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.006071, allocations: 1.159 MB / 351.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.553e-05/0.006126, allocations: 0 / 351.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.006164, allocations: 3.984 kB / 351.6 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.006192, allocations: 8 kB / 351.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.399e-05/0.006216, allocations: 0 / 351.6 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.006222, allocations: 4 kB / 351.6 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009259/0.007148, allocations: 0.9362 MB / 352.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.007158, allocations: 0 / 352.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.232e-05/0.00718, allocations: 0 / 352.5 MB, free: 4.914 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.007602, allocations: 0.5027 MB / 353 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.007604, allocations: 0 / 353 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.007604, allocations: 3.938 kB / 353 MB, free: 4.406 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.007609, allocations: 0 / 353 MB, free: 4.406 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.0002829/0.007891, allocations: 457.4 kB / 353.5 MB, free: 3.918 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.007924, allocations: 12.03 kB / 353.5 MB, free: 3.906 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.007958, allocations: 4.875 kB / 353.5 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.518e-05/0.008003, allocations: 108.6 kB / 353.6 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.008015, allocations: 8.359 kB / 353.6 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.008025, allocations: 4.359 kB / 353.6 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.734e-05/0.008102, allocations: 55.97 kB / 353.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.008109, allocations: 192 / 353.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.008118, allocations: 384 / 353.6 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.008127, allocations: 3.938 kB / 353.7 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.375e-05/0.00814, allocations: 29.64 kB / 353.7 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.906e-05/0.008209, allocations: 108.6 kB / 353.8 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.338e-05/0.008243, allocations: 60.84 kB / 353.8 MB, free: 3.434 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.008256, allocations: 33.39 kB / 353.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.937e-06/0.00826, allocations: 0 / 353.9 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.008285, allocations: 63.09 kB / 353.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.008286, allocations: 4 kB / 353.9 MB, free: 3.309 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001458/0.008432, allocations: 118.7 kB / 354.1 MB, free: 3.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.008457, allocations: 81.05 kB / 354.1 MB, free: 3.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.06e-05/0.008478, allocations: 142.2 kB / 354.3 MB, free: 2.918 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-06/0.008482, allocations: 25.7 kB / 354.3 MB, free: 2.887 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.148e-05/0.008494, allocations: 135 kB / 354.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.532e-05/0.008509, allocations: 352 / 354.4 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.008529, allocations: 19.38 kB / 354.5 MB, free: 2.723 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.008574, allocations: 492.1 kB / 354.9 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.091e-05/0.008585, allocations: 29.7 kB / 355 MB, free: 2.195 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.506e-06/0.008594, allocations: 29.69 kB / 355 MB, free: 2.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.312e-05/0.008637, allocations: 67.09 kB / 355.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008638, allocations: 0 / 355.1 MB, free: 2.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.893e-05/0.008677, allocations: 93 kB / 355.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.008697, allocations: 33.78 kB / 355.2 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008702, allocations: 4 kB / 355.2 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.008714, allocations: 0 / 355.2 MB, free: 1.926 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.008714, allocations: 4 kB / 355.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.00872, allocations: 3.938 kB / 355.2 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-06/0.008728, allocations: 0 / 355.2 MB, free: 1.918 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.008733, allocations: 0 / 355.2 MB, free: 1.918 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.137e-05/0.008775, allocations: 186.2 kB / 355.4 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-06/0.008779, allocations: 3.938 kB / 355.4 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.779e-06/0.008789, allocations: 7 kB / 355.4 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.008791, allocations: 3.984 kB / 355.4 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.008794, allocations: 4 kB / 355.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.008797, allocations: 7.938 kB / 355.4 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.362e-05/0.008831, allocations: 108.6 kB / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.008831, allocations: 0 / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.008832, allocations: 0 / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.72e-07/0.008832, allocations: 0 / 355.5 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.008838, allocations: 4 kB / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.008839, allocations: 0 / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.00884, allocations: 0 / 355.5 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.255e-05/0.008892, allocations: 135.7 kB / 355.6 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-06/0.008896, allocations: 4.031 kB / 355.6 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.008909, allocations: 4 kB / 355.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.368e-06/0.008913, allocations: 0 / 355.7 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.123e-05/0.008925, allocations: 3.984 kB / 355.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-06/0.008926, allocations: 0 / 355.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.348e-05/0.008939, allocations: 123.1 kB / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00894, allocations: 0 / 355.8 MB, free: 1.246 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.00922, allocations: 139.6 kB / 355.9 MB, free: 1.109 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.0004487/0.009669, allocations: 404.4 kB / 356.3 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.48e-05/0.009753, allocations: 122.4 kB / 356.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.009755, allocations: 0 / 356.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.56e-05/0.00977, allocations: 92.84 kB / 356.5 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.929e-05/0.00986, allocations: 4.062 kB / 356.5 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001462/0.01001, allocations: 113.7 kB / 356.6 MB, free: 312 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.916e-05/0.01003, allocations: 59.34 kB / 356.7 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.65e-06/0.01003, allocations: 0 / 356.7 MB, free: 232 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-06/0.01004, allocations: 8.5 kB / 356.7 MB, free: 224 kB / 282.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01004, allocations: 0 / 356.7 MB, free: 224 kB / 282.7 MB Notification: Performance of Templates: time 0.00533/0.01537, allocations: 4.402 MB / 361.1 MB, free: 11.81 MB / 298.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 -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.166332455119118]