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.001738/0.001739, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.002172/0.002172, allocations: 206.6 kB / 21.41 MB, free: 1.645 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.487/1.487, allocations: 227.4 MB / 251.7 MB, free: 88 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.2592/0.2592, allocations: 46.16 MB / 351.1 MB, free: 14.38 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.002285/0.002285, allocations: 81.27 kB / 490.1 MB, free: 28.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1412, allocations: 62.45 MB / 0.5396 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001574/0.1428, allocations: 477.8 kB / 0.5401 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003696/0.1465, allocations: 2.408 MB / 0.5425 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.1466, allocations: 0 / 0.5425 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.1466, allocations: 0 / 0.5425 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.162e-06/0.1466, allocations: 0 / 0.5425 GB, free: 1.398 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.003007/0.1496, allocations: 1.152 MB / 0.5436 GB, free: 252 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.256e-05/0.1497, allocations: 4 kB / 0.5436 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.1498, allocations: 4 kB / 0.5436 GB, free: 244 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.816e-05/0.1498, allocations: 3.938 kB / 0.5436 GB, free: 240 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.17e-05/0.1498, allocations: 0 / 0.5436 GB, free: 240 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.811e-06/0.1498, allocations: 0 / 0.5436 GB, free: 240 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.1518, allocations: 1.038 MB / 0.5446 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.117e-06/0.1518, allocations: 0 / 0.5446 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.1518, allocations: 3.984 kB / 0.5446 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009122/0.1528, allocations: 447 kB / 0.545 GB, free: 14.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1528, allocations: 0 / 0.545 GB, free: 14.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1528, allocations: 0 / 0.545 GB, free: 14.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1528, allocations: 4 kB / 0.545 GB, free: 14.75 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.0006081/0.1534, allocations: 448.3 kB / 0.5455 GB, free: 14.26 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1535, allocations: 8.031 kB / 0.5455 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.1535, allocations: 0.9375 kB / 0.5455 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.1536, allocations: 160.4 kB / 0.5456 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1537, allocations: 384 / 0.5456 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.1537, allocations: 4.375 kB / 0.5456 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.1538, allocations: 37.94 kB / 0.5457 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1538, allocations: 4 kB / 0.5457 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1538, allocations: 7.938 kB / 0.5457 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1538, allocations: 0 / 0.5457 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.1538, allocations: 0 / 0.5457 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.154, allocations: 145.7 kB / 0.5458 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.43e-05/0.1541, allocations: 18.61 kB / 0.5458 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.1541, allocations: 8.844 kB / 0.5458 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.1541, allocations: 0 / 0.5458 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.1542, allocations: 68.14 kB / 0.5459 GB, free: 13.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.123e-06/0.1542, allocations: 4.062 kB / 0.5459 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000219/0.1544, allocations: 59.41 kB / 0.546 GB, free: 13.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.1545, allocations: 85.09 kB / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.697e-05/0.1546, allocations: 97.75 kB / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.1546, allocations: 25.7 kB / 0.5462 GB, free: 13.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.1546, allocations: 80.14 kB / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.1547, allocations: 128 / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1547, allocations: 17.72 kB / 0.5463 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1548, allocations: 310.8 kB / 0.5466 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.1549, allocations: 0 / 0.5466 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.903e-06/0.1549, allocations: 0 / 0.5466 GB, free: 12.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.005e-05/0.1549, allocations: 68.2 kB / 0.5466 GB, free: 12.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.155, allocations: 0 / 0.5466 GB, free: 12.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.204e-05/0.155, allocations: 63.39 kB / 0.5467 GB, free: 12.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.1551, allocations: 37.73 kB / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1551, allocations: 0 / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1551, allocations: 4 kB / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.1551, allocations: 0 / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1551, allocations: 0 / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.1552, allocations: 0 / 0.5467 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1552, allocations: 0 / 0.5467 GB, free: 12.75 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.0001128/0.1553, allocations: 143.5 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.1553, allocations: 3.938 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.1553, allocations: 7.125 kB / 0.5469 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1553, allocations: 3.984 kB / 0.5469 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.1553, allocations: 4 kB / 0.5469 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1553, allocations: 0 / 0.5469 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.1555, allocations: 149.7 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1555, allocations: 3.938 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.1555, allocations: 3.938 kB / 0.547 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1555, allocations: 3.938 kB / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.1555, allocations: 0 / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1555, allocations: 0 / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1555, allocations: 4 kB / 0.547 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.1556, allocations: 94.81 kB / 0.5471 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.1557, allocations: 77.11 kB / 0.5472 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1557, allocations: 7.938 kB / 0.5472 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.528e-06/0.1557, allocations: 0 / 0.5472 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.1558, allocations: 0 / 0.5472 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.1558, allocations: 0 / 0.5472 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.239e-05/0.1558, allocations: 75.28 kB / 0.5473 GB, free: 12.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1558, allocations: 4.031 kB / 0.5473 GB, free: 12.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005321/0.1563, allocations: 163.5 kB / 0.5474 GB, free: 11.91 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.0009687/0.1573, allocations: 389.6 kB / 0.5478 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001242/0.1575, allocations: 59.34 kB / 0.5479 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1575, allocations: 0 / 0.5479 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.1575, allocations: 63.39 kB / 0.5479 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.000134/0.1577, allocations: 0 / 0.5479 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001841/0.1578, allocations: 81.06 kB / 0.548 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.1582, allocations: 0.6691 MB / 0.5487 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.3e-06/0.1582, allocations: 4 kB / 0.5487 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.318e-05/0.1582, allocations: 11.44 kB / 0.5487 GB, free: 10.56 MB / 414.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1582, allocations: 0 / 0.5487 GB, free: 10.56 MB / 414.1 MB Notification: Performance of Templates: time 0.009181/0.1674, allocations: 4.604 MB / 0.5532 GB, free: 5.953 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.176772201433778]