Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001594/0.001594, allocations: 117.1 kB / 19.12 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001807/0.001807, allocations: 210.6 kB / 22.08 MB, free: 0.9922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 252.3 MB, free: 104 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2315/0.2315, allocations: 46.18 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 76.38 kB / 490.8 MB, free: 28.17 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.129, allocations: 62.45 MB / 0.5403 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001599/0.1306, allocations: 465 kB / 0.5408 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00384/0.1345, allocations: 2.42 MB / 0.5431 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.1345, allocations: 0 / 0.5431 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.1346, allocations: 0 / 0.5431 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.31e-06/0.1346, allocations: 0 / 0.5431 GB, free: 1.387 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/ComplexMath.mo:4:3-189:23:writable] Warning: Pure function 'ModelicaTest.ComplexMath.ComplexFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.002937/0.1376, allocations: 1.145 MB / 0.5442 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.169e-05/0.1376, allocations: 7.984 kB / 0.5443 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.1377, allocations: 4 kB / 0.5443 GB, free: 236 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.755e-05/0.1377, allocations: 3.938 kB / 0.5443 GB, free: 232 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.983e-05/0.1377, allocations: 0 / 0.5443 GB, free: 232 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-06/0.1377, allocations: 0 / 0.5443 GB, free: 232 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.1395, allocations: 1.042 MB / 0.5453 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-06/0.1395, allocations: 0 / 0.5453 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.891e-05/0.1396, allocations: 4 kB / 0.5453 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.1403, allocations: 447.1 kB / 0.5457 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1403, allocations: 0 / 0.5457 GB, free: 14.74 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1403, allocations: 0 / 0.5457 GB, free: 14.74 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1403, allocations: 0 / 0.5457 GB, free: 14.74 MB / 414.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.0005299/0.1408, allocations: 444.3 kB / 0.5461 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1409, allocations: 11.97 kB / 0.5461 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.1409, allocations: 8.922 kB / 0.5462 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.141, allocations: 160.4 kB / 0.5463 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1411, allocations: 384 / 0.5463 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.1411, allocations: 4.375 kB / 0.5463 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.309e-05/0.1412, allocations: 33.95 kB / 0.5463 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.1412, allocations: 0 / 0.5463 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1412, allocations: 4 kB / 0.5463 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1412, allocations: 3.938 kB / 0.5464 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.802e-05/0.1412, allocations: 4 kB / 0.5464 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1414, allocations: 149.7 kB / 0.5465 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.1415, allocations: 18.61 kB / 0.5465 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.1415, allocations: 8.797 kB / 0.5465 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.1415, allocations: 0 / 0.5465 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/0.1416, allocations: 64.2 kB / 0.5466 GB, free: 13.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1416, allocations: 0 / 0.5466 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001748/0.1417, allocations: 63.58 kB / 0.5466 GB, free: 13.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.1418, allocations: 85.11 kB / 0.5467 GB, free: 13.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.123e-05/0.1419, allocations: 93.81 kB / 0.5468 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1419, allocations: 25.7 kB / 0.5468 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.1419, allocations: 80.14 kB / 0.5469 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.142, allocations: 0 / 0.5469 GB, free: 13.28 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.092e-05/0.142, allocations: 17.72 kB / 0.5469 GB, free: 13.26 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1422, allocations: 310.8 kB / 0.5472 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.238e-05/0.1422, allocations: 0 / 0.5472 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.628e-06/0.1422, allocations: 11.92 kB / 0.5472 GB, free: 12.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.539e-05/0.1423, allocations: 60.27 kB / 0.5473 GB, free: 12.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1423, allocations: 0 / 0.5473 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.373e-05/0.1423, allocations: 63.41 kB / 0.5474 GB, free: 12.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.317e-05/0.1424, allocations: 33.64 kB / 0.5474 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.1424, allocations: 0 / 0.5474 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1424, allocations: 3.984 kB / 0.5474 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.1424, allocations: 4 kB / 0.5474 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1424, allocations: 4.078 kB / 0.5474 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.381e-05/0.1425, allocations: 4 kB / 0.5474 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-06/0.1425, allocations: 0 / 0.5474 GB, free: 12.73 MB / 414.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.0001014/0.1426, allocations: 135.5 kB / 0.5475 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.1426, allocations: 7.875 kB / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.895e-06/0.1426, allocations: 3.125 kB / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1426, allocations: 0 / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1426, allocations: 0 / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1426, allocations: 0 / 0.5475 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1428, allocations: 153.6 kB / 0.5477 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1428, allocations: 4 kB / 0.5477 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-06/0.1428, allocations: 7.938 kB / 0.5477 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1428, allocations: 3.938 kB / 0.5477 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.1428, allocations: 0 / 0.5477 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1428, allocations: 0 / 0.5477 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1428, allocations: 0 / 0.5477 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.1429, allocations: 94.83 kB / 0.5478 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.143, allocations: 81.14 kB / 0.5479 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.143, allocations: 7.938 kB / 0.5479 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.143, allocations: 0 / 0.5479 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.127e-05/0.143, allocations: 3.984 kB / 0.5479 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.143, allocations: 3.984 kB / 0.5479 GB, free: 12.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.1431, allocations: 75.28 kB / 0.548 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1431, allocations: 3.938 kB / 0.548 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004512/0.1435, allocations: 155.5 kB / 0.5481 GB, free: 11.9 MB / 414.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.0007705/0.1443, allocations: 380.6 kB / 0.5485 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.1444, allocations: 63.39 kB / 0.5485 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1444, allocations: 4.062 kB / 0.5485 GB, free: 11.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.1445, allocations: 55.41 kB / 0.5486 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.1446, allocations: 2.188 kB / 0.5486 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002134/0.1448, allocations: 110.8 kB / 0.5487 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1452, allocations: 0.6729 MB / 0.5494 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.1452, allocations: 7.438 kB / 0.5494 GB, free: 10.53 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1452, allocations: 3.938 kB / 0.5494 GB, free: 10.52 MB / 414.1 MB Notification: Performance of Templates: time 0.006929/0.1521, allocations: 3.912 MB / 0.5532 GB, free: 6.605 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 7.614789913059212]