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.0007424/0.0007424, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001189/0.001932, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007547/0.0007547, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009794/0.001734, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.008/1.008, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2082/1.216, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.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.1333/0.1333, allocations: 32.35 MB / 253.6 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02898/0.1623, allocations: 12.29 MB / 265.9 MB, free: 7.844 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.014e-06/2.014e-06, allocations: 0 / 267.2 MB, free: 6.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/2.002e-05, allocations: 6.25 kB / 267.2 MB, free: 6.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.0009084/0.0009284, allocations: 0.5322 MB / 267.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.003301, allocations: 2.303 MB / 270 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.412e-05/0.003315, allocations: 0 / 270 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.897e-06/0.003319, allocations: 0 / 270 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.92e-07/0.003319, allocations: 0 / 270 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.005157, allocations: 1.136 MB / 271.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.384e-05/0.005221, allocations: 4 kB / 271.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.005255, allocations: 0 / 271.1 MB, free: 2.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.212e-05/0.005287, allocations: 3.938 kB / 271.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.583e-05/0.005313, allocations: 4 kB / 271.2 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.623e-06/0.00532, allocations: 0 / 271.2 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.006343, allocations: 0.9988 MB / 272.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.006354, allocations: 7.938 kB / 272.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.006372, allocations: 0 / 272.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.006829, allocations: 427 kB / 272.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.645e-05/0.006846, allocations: 0 / 272.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.006847, allocations: 0 / 272.6 MB, free: 1.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.006863, allocations: 0 / 272.6 MB, free: 1.141 MB / 266.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.0004164/0.007279, allocations: 393.6 kB / 273 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.007327, allocations: 12.03 kB / 273 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.007368, allocations: 4.938 kB / 273 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.258e-05/0.00744, allocations: 105.8 kB / 273.1 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.007453, allocations: 4.375 kB / 273.1 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.007462, allocations: 4.359 kB / 273.1 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.929e-05/0.007552, allocations: 55.97 kB / 273.1 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.007562, allocations: 4.172 kB / 273.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.754e-06/0.007569, allocations: 384 / 273.1 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.007577, allocations: 7.875 kB / 273.2 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.007599, allocations: 25.7 kB / 273.2 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.326e-05/0.007682, allocations: 61.05 kB / 273.2 MB, free: 400 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.007735, allocations: 48.31 kB / 273.3 MB, free: 336 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.007754, allocations: 30.56 kB / 273.3 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-06/0.007758, allocations: 0 / 273.3 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.48e-05/0.007802, allocations: 68.31 kB / 273.4 MB, free: 212 kB / 266.7 MB Notification: Performance of pre-optimization done (n=1): time 4.7e-07/0.007803, allocations: 0 / 273.4 MB, free: 212 kB / 266.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001424/0.007945, allocations: 110.8 kB / 273.5 MB, free: 76 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.008013, allocations: 81.11 kB / 273.6 MB, free: 15.98 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.777e-05/0.008061, allocations: 89.86 kB / 273.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.008071, allocations: 25.7 kB / 273.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/0.008093, allocations: 80.14 kB / 273.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.00812, allocations: 16 kB / 273.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.008145, allocations: 13.72 kB / 273.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.008246, allocations: 314.8 kB / 274.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.008264, allocations: 29.7 kB / 274.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.008278, allocations: 25.7 kB / 274.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.705e-05/0.008335, allocations: 68.19 kB / 274.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008338, allocations: 0 / 274.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.416e-05/0.008392, allocations: 89.11 kB / 274.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.008433, allocations: 29.7 kB / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.008439, allocations: 4.094 kB / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.00845, allocations: 0 / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-06/0.008457, allocations: 0 / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.008461, allocations: 0 / 274.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.008488, allocations: 11.98 kB / 274.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.008498, allocations: 3.938 kB / 274.4 MB, free: 15.11 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 7.708e-05/0.008575, allocations: 135.5 kB / 274.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.939e-06/0.00858, allocations: 4 kB / 274.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.798e-06/0.008589, allocations: 3 kB / 274.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.008591, allocations: 0 / 274.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.008593, allocations: 4 kB / 274.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.008596, allocations: 0 / 274.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.981e-05/0.008646, allocations: 65.84 kB / 274.6 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.008648, allocations: 3.984 kB / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.008648, allocations: 0 / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.008652, allocations: 3.938 kB / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.008653, allocations: 0 / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.008659, allocations: 4 kB / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.008659, allocations: 0 / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.00866, allocations: 0 / 274.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.144e-05/0.008732, allocations: 112.5 kB / 274.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.008744, allocations: 8.031 kB / 274.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-06/0.00875, allocations: 0 / 274.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.008761, allocations: 4 kB / 274.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-06/0.008762, allocations: 0 / 274.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.42e-06/0.008768, allocations: 4.859 kB / 274.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008768, allocations: 0 / 274.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002604/0.009028, allocations: 147.5 kB / 274.8 MB, free: 14.55 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.0005383/0.009567, allocations: 405.5 kB / 275.2 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.009669, allocations: 131.6 kB / 275.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.009672, allocations: 0 / 275.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.013e-05/0.009702, allocations: 89.91 kB / 275.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.243e-05/0.009754, allocations: 12.06 kB / 275.5 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001512/0.009906, allocations: 111.8 kB / 275.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.78e-05/0.009933, allocations: 51.36 kB / 275.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.582e-06/0.00994, allocations: 0 / 275.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.00998, allocations: 55.38 kB / 275.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.00998, allocations: 0 / 275.7 MB, free: 13.61 MB / 282.7 MB Notification: Performance of Templates: time 0.00708/0.01706, allocations: 5.692 MB / 281.4 MB, free: 7.906 MB / 282.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 -ignoreHideResult -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: 2.9549029590561986]