Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.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.001071/0.001071, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001483/0.001483, allocations: 166.3 kB / 24.84 MB, free: 9.297 MB / 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.9935/0.9935, allocations: 158.6 MB / 186.7 MB, free: 2.762 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.1689/0.1689, allocations: 32.37 MB / 271.5 MB, free: 14.52 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.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0 / 348.9 MB, free: 9.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.292e-05, allocations: 8.219 kB / 348.9 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.00152/0.001553, allocations: 496.4 kB / 349.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.004437, allocations: 2.253 MB / 351.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.004468, allocations: 0 / 351.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.539e-05/0.004483, allocations: 4 kB / 351.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.183e-06/0.004491, allocations: 0 / 351.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.006833, allocations: 1.167 MB / 352.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.644e-05/0.0069, allocations: 0 / 352.8 MB, free: 5.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.006945, allocations: 3.984 kB / 352.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.102e-05/0.006976, allocations: 0 / 352.8 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.75e-05/0.007004, allocations: 8 kB / 352.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.007015, allocations: 0 / 352.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.008342, allocations: 0.948 MB / 353.7 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.766e-06/0.008351, allocations: 3.938 kB / 353.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.296e-05/0.008364, allocations: 0 / 353.7 MB, free: 4.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005582/0.008922, allocations: 0.5066 MB / 354.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.008924, allocations: 0 / 354.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.008925, allocations: 0 / 354.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.00893, allocations: 4 kB / 354.2 MB, free: 3.801 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.0003388/0.009269, allocations: 457.3 kB / 354.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.009305, allocations: 8.031 kB / 354.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.009335, allocations: 0.9375 kB / 354.7 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.163e-05/0.009387, allocations: 112.6 kB / 354.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.009398, allocations: 384 / 354.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-06/0.009404, allocations: 384 / 354.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.961e-05/0.009474, allocations: 59.97 kB / 354.9 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.009481, allocations: 4.125 kB / 354.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.009487, allocations: 384 / 354.9 MB, free: 3.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.009494, allocations: 3.938 kB / 354.9 MB, free: 3.09 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.437e-05/0.009508, allocations: 33.7 kB / 354.9 MB, free: 3.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.698e-05/0.009575, allocations: 93.25 kB / 355 MB, free: 2.934 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.141e-05/0.009616, allocations: 52.8 kB / 355.1 MB, free: 2.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.00963, allocations: 37.39 kB / 355.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-06/0.009633, allocations: 0 / 355.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.00966, allocations: 63.16 kB / 355.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.009661, allocations: 0 / 355.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.009801, allocations: 118.7 kB / 355.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.009826, allocations: 77.11 kB / 355.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.665e-05/0.009853, allocations: 142.2 kB / 355.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.711e-06/0.009859, allocations: 29.83 kB / 355.5 MB, free: 2.316 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.376e-05/0.009872, allocations: 130.8 kB / 355.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.009893, allocations: 8.328 kB / 355.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.009923, allocations: 19.38 kB / 355.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.009978, allocations: 496.1 kB / 356.2 MB, free: 1.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.247e-05/0.00999, allocations: 33.69 kB / 356.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.275e-06/0.009998, allocations: 25.7 kB / 356.2 MB, free: 1.582 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.01004, allocations: 67.03 kB / 356.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.01004, allocations: 0 / 356.3 MB, free: 1.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.594e-05/0.01009, allocations: 97.11 kB / 356.4 MB, free: 1.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.01012, allocations: 29.7 kB / 356.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01012, allocations: 0 / 356.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.01013, allocations: 0 / 356.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.01013, allocations: 4 kB / 356.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.01014, allocations: 0 / 356.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.271e-05/0.01015, allocations: 3.938 kB / 356.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.01016, allocations: 0 / 356.4 MB, free: 1.344 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 5.058e-05/0.01021, allocations: 190.2 kB / 356.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-06/0.01021, allocations: 0 / 356.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-06/0.01022, allocations: 6.984 kB / 356.6 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.01022, allocations: 4.031 kB / 356.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01022, allocations: 0 / 356.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01023, allocations: 4 kB / 356.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.616e-05/0.01027, allocations: 93.2 kB / 356.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.01027, allocations: 3.938 kB / 356.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.01027, allocations: 0 / 356.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.01028, allocations: 0 / 356.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.01028, allocations: 4 kB / 356.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.01028, allocations: 0 / 356.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01028, allocations: 0 / 356.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.882e-05/0.01035, allocations: 131.8 kB / 356.8 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-06/0.01036, allocations: 0 / 356.8 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.01037, allocations: 4 kB / 356.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-06/0.01037, allocations: 4 kB / 356.8 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.01038, allocations: 4 kB / 356.8 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.01039, allocations: 3.984 kB / 356.9 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.587e-05/0.0104, allocations: 119.2 kB / 357 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0104, allocations: 3.938 kB / 357 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003911/0.01079, allocations: 139.6 kB / 357.1 MB, free: 0.5625 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.0006223/0.01142, allocations: 412.1 kB / 357.5 MB, free: 168 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.045e-05/0.01151, allocations: 122.4 kB / 357.6 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01151, allocations: 4 kB / 357.6 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.01157, allocations: 92.78 kB / 357.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.01169, allocations: 7.938 kB / 357.7 MB, free: 15.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.0119, allocations: 109.7 kB / 357.8 MB, free: 15.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.889e-05/0.01194, allocations: 55.34 kB / 357.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.922e-06/0.01194, allocations: 0 / 357.9 MB, free: 15.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.012, allocations: 74.2 kB / 358 MB, free: 15.6 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.012, allocations: 0 / 358 MB, free: 15.6 MB / 298.7 MB Notification: Performance of Templates: time 0.009861/0.02186, allocations: 5.685 MB / 363.7 MB, free: 9.914 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.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.4174422142095864]