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.001874/0.001874, allocations: 96.97 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002005/0.002005, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.379/1.379, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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.2172/0.2172, allocations: 32.38 MB / 270 MB, free: 14.76 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.803e-06/1.803e-06, allocations: 0 / 346.9 MB, free: 9.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.433e-05, allocations: 6.312 kB / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001617/0.001651, allocations: 497.6 kB / 347.4 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.004465, allocations: 2.245 MB / 349.6 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.004496, allocations: 0 / 349.6 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.00451, allocations: 4 kB / 349.6 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.172e-06/0.004516, allocations: 0 / 349.6 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.00712, allocations: 1.175 MB / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.361e-05/0.007174, allocations: 0 / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.926e-05/0.007213, allocations: 0 / 350.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.007264, allocations: 3.984 kB / 350.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.096e-05/0.007295, allocations: 4 kB / 350.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.007306, allocations: 4 kB / 350.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.008606, allocations: 0.9207 MB / 351.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.008619, allocations: 4 kB / 351.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.008654, allocations: 3.984 kB / 351.7 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007009/0.009355, allocations: 0.5065 MB / 352.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.009361, allocations: 0 / 352.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.009365, allocations: 0 / 352.3 MB, free: 4.453 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.009374, allocations: 0 / 352.3 MB, free: 4.453 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.000477/0.009851, allocations: 457.3 kB / 352.7 MB, free: 3.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.009899, allocations: 12.03 kB / 352.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.571e-05/0.009954, allocations: 4.938 kB / 352.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.495e-05/0.01001, allocations: 104.6 kB / 352.8 MB, free: 3.82 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.01002, allocations: 4.375 kB / 352.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.01003, allocations: 384 / 352.8 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.01015, allocations: 67.92 kB / 352.9 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.01016, allocations: 4.125 kB / 352.9 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.01017, allocations: 384 / 352.9 MB, free: 3.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.01018, allocations: 3.938 kB / 352.9 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.0102, allocations: 29.64 kB / 352.9 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.271e-05/0.0103, allocations: 112.6 kB / 353 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.01036, allocations: 52.77 kB / 353.1 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.243e-05/0.01038, allocations: 41.47 kB / 353.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.01039, allocations: 0 / 353.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.01043, allocations: 59.09 kB / 353.2 MB, free: 3.355 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.01044, allocations: 4 kB / 353.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002388/0.01067, allocations: 122.7 kB / 353.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.01071, allocations: 81.05 kB / 353.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.032e-05/0.01075, allocations: 142.2 kB / 353.5 MB, free: 2.957 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.313e-06/0.01076, allocations: 25.83 kB / 353.6 MB, free: 2.926 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.232e-05/0.01078, allocations: 130.9 kB / 353.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.01081, allocations: 4 kB / 353.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.01084, allocations: 15.38 kB / 353.7 MB, free: 2.766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.01093, allocations: 496.1 kB / 354.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.01095, allocations: 29.7 kB / 354.2 MB, free: 2.234 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.13e-05/0.01096, allocations: 25.7 kB / 354.2 MB, free: 2.203 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.011, allocations: 71.02 kB / 354.3 MB, free: 2.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01101, allocations: 0 / 354.3 MB, free: 2.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.371e-05/0.01108, allocations: 89.11 kB / 354.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.426e-05/0.01111, allocations: 37.8 kB / 354.4 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01112, allocations: 0 / 354.4 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.01114, allocations: 3.984 kB / 354.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.593e-06/0.01115, allocations: 0 / 354.4 MB, free: 1.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.01115, allocations: 3.938 kB / 354.4 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.01117, allocations: 3.953 kB / 354.4 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.01118, allocations: 0 / 354.4 MB, free: 1.957 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.908e-05/0.01126, allocations: 182.3 kB / 354.6 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.01127, allocations: 0 / 354.6 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.073e-05/0.01128, allocations: 7 kB / 354.6 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.01128, allocations: 4 kB / 354.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01129, allocations: 0 / 354.6 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01129, allocations: 3.938 kB / 354.6 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.467e-05/0.01133, allocations: 108.6 kB / 354.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.01134, allocations: 0 / 354.7 MB, free: 1.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.01134, allocations: 7.938 kB / 354.8 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.01134, allocations: 3.938 kB / 354.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.01134, allocations: 0 / 354.8 MB, free: 1.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01134, allocations: 4 kB / 354.8 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01135, allocations: 0 / 354.8 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.491e-05/0.01143, allocations: 135.8 kB / 354.9 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.01143, allocations: 4 kB / 354.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.01145, allocations: 0 / 354.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-06/0.01145, allocations: 0 / 354.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.01147, allocations: 4 kB / 354.9 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.01148, allocations: 4 kB / 354.9 MB, free: 1.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.143e-05/0.0115, allocations: 123.1 kB / 355 MB, free: 1.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0115, allocations: 0 / 355 MB, free: 1.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004259/0.01192, allocations: 147.5 kB / 355.2 MB, free: 1.145 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.0007023/0.01263, allocations: 404.4 kB / 355.6 MB, free: 0.75 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.01274, allocations: 118.4 kB / 355.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01275, allocations: 0 / 355.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.01278, allocations: 96.84 kB / 355.8 MB, free: 500 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.01293, allocations: 4 kB / 355.8 MB, free: 496 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000196/0.01312, allocations: 113.7 kB / 355.9 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.481e-05/0.01315, allocations: 55.36 kB / 355.9 MB, free: 272 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.8e-06/0.01315, allocations: 3.984 kB / 355.9 MB, free: 268 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.203e-05/0.01317, allocations: 8.5 kB / 356 MB, free: 260 kB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01317, allocations: 0 / 356 MB, free: 260 kB / 282.7 MB Notification: Performance of Templates: time 0.01/0.02317, allocations: 4.403 MB / 360.4 MB, free: 11.85 MB / 298.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.024756690952927]