Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.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.001347/0.001347, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00207/0.003418, allocations: 452 kB / 10.43 MB, free: 264 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.001388/0.001388, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001663/0.003051, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.095/1.095, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1804/1.276, allocations: 49.49 MB / 220.7 MB, free: 1.363 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.1533/0.1533, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02926/0.1826, allocations: 12.32 MB / 266.1 MB, free: 3.871 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.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 267.3 MB, free: 2.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.656e-05, allocations: 14.12 kB / 267.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.002377/0.002413, allocations: 0.5284 MB / 267.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004055/0.006468, allocations: 2.303 MB / 270.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.728e-05/0.006495, allocations: 0 / 270.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.007e-06/0.006504, allocations: 4 kB / 270.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.135e-06/0.006508, allocations: 0 / 270.2 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.01018, allocations: 1.136 MB / 271.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.477e-05/0.01027, allocations: 4 kB / 271.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.01033, allocations: 3.938 kB / 271.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.08e-05/0.01037, allocations: 0 / 271.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.01041, allocations: 0 / 271.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.01042, allocations: 4 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.01247, allocations: 1.006 MB / 272.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.01248, allocations: 0 / 272.4 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.0125, allocations: 4 kB / 272.4 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009455/0.01344, allocations: 423 kB / 272.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.116e-05/0.01346, allocations: 0 / 272.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.01347, allocations: 0 / 272.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.01348, allocations: 0 / 272.8 MB, free: 13.15 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.0007162/0.0142, allocations: 393.6 kB / 273.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.579e-05/0.01426, allocations: 11.97 kB / 273.2 MB, free: 12.72 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.01431, allocations: 8.938 kB / 273.2 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.624e-05/0.01441, allocations: 101.8 kB / 273.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.01443, allocations: 4.375 kB / 273.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.01445, allocations: 4.375 kB / 273.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.01456, allocations: 59.95 kB / 273.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.01457, allocations: 192 / 273.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.01458, allocations: 384 / 273.3 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.01459, allocations: 7.938 kB / 273.3 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.01461, allocations: 25.7 kB / 273.4 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.129e-05/0.01469, allocations: 57.05 kB / 273.4 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/0.01474, allocations: 48.22 kB / 273.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.287e-05/0.01476, allocations: 34.66 kB / 273.5 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.099e-06/0.01477, allocations: 3.984 kB / 273.5 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.01481, allocations: 56.27 kB / 273.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.01481, allocations: 0 / 273.6 MB, free: 12.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.01497, allocations: 118.8 kB / 273.7 MB, free: 12.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/0.01505, allocations: 166.1 kB / 273.8 MB, free: 11.88 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.187e-05/0.0151, allocations: 89.86 kB / 273.9 MB, free: 11.79 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.01511, allocations: 25.7 kB / 274 MB, free: 11.75 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.01514, allocations: 80.14 kB / 274 MB, free: 11.67 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.01517, allocations: 4.125 kB / 274 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.0152, allocations: 13.72 kB / 274.1 MB, free: 11.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01532, allocations: 318.8 kB / 274.4 MB, free: 11.33 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.316e-05/0.01535, allocations: 25.7 kB / 274.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.01537, allocations: 29.7 kB / 274.4 MB, free: 11.26 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.621e-05/0.01542, allocations: 64.25 kB / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01542, allocations: 0 / 274.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.658e-05/0.01551, allocations: 85.05 kB / 274.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/0.01556, allocations: 41.69 kB / 274.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01557, allocations: 4.094 kB / 274.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.01558, allocations: 0 / 274.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.443e-06/0.01558, allocations: 0 / 274.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.01559, allocations: 4 kB / 274.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.01561, allocations: 0 / 274.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.01561, allocations: 7.938 kB / 274.6 MB, free: 11.02 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 8.95e-05/0.0157, allocations: 131.5 kB / 274.8 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.01572, allocations: 4 kB / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-06/0.01573, allocations: 3 kB / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01573, allocations: 3.984 kB / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01573, allocations: 0 / 274.8 MB, free: 10.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01573, allocations: 4 kB / 274.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.609e-05/0.0158, allocations: 69.8 kB / 274.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.0158, allocations: 0 / 274.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.0158, allocations: 0 / 274.8 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.01581, allocations: 3.984 kB / 274.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01581, allocations: 0 / 274.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.01581, allocations: 4 kB / 274.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.01581, allocations: 0 / 274.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01582, allocations: 0 / 274.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.01593, allocations: 116.4 kB / 275 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.01594, allocations: 4.031 kB / 275 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-06/0.01595, allocations: 7.938 kB / 275 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.01596, allocations: 0 / 275 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.01597, allocations: 3.984 kB / 275 MB, free: 10.61 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.017e-05/0.01598, allocations: 4.859 kB / 275 MB, free: 10.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01598, allocations: 0 / 275 MB, free: 10.6 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005228/0.0165, allocations: 143.6 kB / 275.1 MB, free: 10.46 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.001034/0.01754, allocations: 405.4 kB / 275.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000176/0.01771, allocations: 119.7 kB / 275.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.01772, allocations: 0 / 275.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.01777, allocations: 85.97 kB / 275.7 MB, free: 9.809 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.67e-05/0.01784, allocations: 20.06 kB / 275.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/0.01806, allocations: 111.8 kB / 275.8 MB, free: 9.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.79e-05/0.0181, allocations: 55.36 kB / 275.9 MB, free: 9.574 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.474e-06/0.01811, allocations: 0 / 275.9 MB, free: 9.574 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.01816, allocations: 55.36 kB / 275.9 MB, free: 9.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01816, allocations: 0 / 275.9 MB, free: 9.52 MB / 282.7 MB Notification: Performance of Templates: time 0.008842/0.027, allocations: 5.826 MB / 281.8 MB, free: 3.684 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.918015173636377]