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.001356/0.001356, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001538/0.001538, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.506/1.506, allocations: 230.5 MB / 257.4 MB, free: 7.773 MB / 206.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.2442/0.2442, allocations: 46.96 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 179] 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.002478/0.002478, allocations: 83.88 kB / 0.4966 GB, free: 7.078 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4034, allocations: 66.09 MB / 0.5611 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001774/0.4052, allocations: 465.2 kB / 0.5616 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.4092, allocations: 2.302 MB / 0.5638 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.285e-05/0.4093, allocations: 4 kB / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.4093, allocations: 0 / 0.5638 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.434e-06/0.4093, allocations: 0 / 0.5638 GB, free: 1.199 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.002988/0.4123, allocations: 1.101 MB / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.663e-05/0.4124, allocations: 0 / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.4124, allocations: 0 / 0.5649 GB, free: 100 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.4124, allocations: 7.938 kB / 0.5649 GB, free: 92 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.87e-05/0.4124, allocations: 4 kB / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.063e-06/0.4125, allocations: 0 / 0.5649 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.4142, allocations: 0.9755 MB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.4142, allocations: 0 / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.4142, allocations: 0 / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000609/0.4148, allocations: 437.5 kB / 0.5663 GB, free: 14.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4148, allocations: 4 kB / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4148, allocations: 0 / 0.5663 GB, free: 14.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.4148, allocations: 0 / 0.5663 GB, free: 14.68 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.0004594/0.4153, allocations: 367.3 kB / 0.5667 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4153, allocations: 8.031 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.4154, allocations: 4.922 kB / 0.5667 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.712e-05/0.4154, allocations: 102.5 kB / 0.5668 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4155, allocations: 12.31 kB / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.4155, allocations: 384 / 0.5668 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.4156, allocations: 59.72 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.4156, allocations: 0 / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.4156, allocations: 0 / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.4156, allocations: 3.938 kB / 0.5668 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.371e-05/0.4156, allocations: 29.7 kB / 0.5669 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.4158, allocations: 105.2 kB / 0.567 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.006e-05/0.4158, allocations: 48.22 kB / 0.567 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/0.4159, allocations: 34.66 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.4159, allocations: 0 / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.4159, allocations: 56.27 kB / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.4159, allocations: 0 / 0.5671 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002112/0.4161, allocations: 122.7 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.4162, allocations: 81.11 kB / 0.5673 GB, free: 13.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.4162, allocations: 93.94 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4162, allocations: 29.7 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.4163, allocations: 80.14 kB / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.4163, allocations: 0 / 0.5675 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.4163, allocations: 13.72 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4165, allocations: 318.8 kB / 0.5678 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.4165, allocations: 25.7 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.36e-05/0.4165, allocations: 33.7 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.434e-05/0.4166, allocations: 60.27 kB / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4166, allocations: 0 / 0.5679 GB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.674e-05/0.4167, allocations: 97.09 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.4167, allocations: 32.05 kB / 0.568 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.381e-06/0.4167, allocations: 4 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.4167, allocations: 3.938 kB / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.4167, allocations: 0 / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4167, allocations: 0 / 0.5681 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.4167, allocations: 8 kB / 0.5681 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.4167, allocations: 3.938 kB / 0.5681 GB, free: 12.61 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 8.354e-05/0.4168, allocations: 131.5 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.4168, allocations: 11.97 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.426e-05/0.4169, allocations: 10.97 kB / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.4169, allocations: 0 / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4169, allocations: 0 / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.4169, allocations: 0 / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.739e-05/0.4169, allocations: 97.33 kB / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4169, allocations: 0 / 0.5683 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.4169, allocations: 3.938 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4169, allocations: 0 / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.4169, allocations: 0 / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.417, allocations: 3.938 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.417, allocations: 3.984 kB / 0.5683 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.4171, allocations: 116.5 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.931e-06/0.4171, allocations: 4 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.4171, allocations: 3.984 kB / 0.5684 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.4171, allocations: 3.938 kB / 0.5684 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.895e-05/0.4171, allocations: 7.938 kB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.4171, allocations: 4 kB / 0.5684 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.643e-05/0.4172, allocations: 75.28 kB / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4172, allocations: 0 / 0.5685 GB, free: 12.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004511/0.4176, allocations: 155.5 kB / 0.5687 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.0007587/0.4184, allocations: 387.3 kB / 0.569 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000143/0.4185, allocations: 110.8 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4185, allocations: 4.062 kB / 0.5691 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.266e-05/0.4186, allocations: 85.09 kB / 0.5692 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.4187, allocations: 4 kB / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002166/0.4189, allocations: 110.7 kB / 0.5693 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.642e-05/0.419, allocations: 51.36 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.72e-06/0.419, allocations: 0 / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.332e-05/0.419, allocations: 11.44 kB / 0.5694 GB, free: 11.06 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.419, allocations: 3.938 kB / 0.5694 GB, free: 11.05 MB / 414.1 MB Notification: Performance of Templates: time 0.008922/0.4279, allocations: 4.606 MB / 0.5739 GB, free: 6.445 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.1.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.439733812585473]