Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.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.001664/0.001664, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 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.002107/0.002107, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions") translateModel(ModelicaTest.ComplexMath.TestComplexFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 67.89 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexFunctions): time 0.001602/0.3348, allocations: 473.1 kB / 0.5622 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.3384, allocations: 2.299 MB / 0.5645 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.3385, allocations: 0 / 0.5645 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.3385, allocations: 0 / 0.5645 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.3385, allocations: 0 / 0.5645 GB, free: 1.391 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/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.0028/0.3413, allocations: 1.102 MB / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.3413, allocations: 0 / 0.5656 GB, free: 296 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.3414, allocations: 4 kB / 0.5656 GB, free: 292 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.54e-05/0.3414, allocations: 4 kB / 0.5656 GB, free: 288 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.635e-05/0.3414, allocations: 3.984 kB / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.661e-06/0.3414, allocations: 0 / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.343, allocations: 1.011 MB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.343, allocations: 3.938 kB / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.3431, allocations: 0 / 0.5666 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006342/0.3437, allocations: 441.5 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3437, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3437, allocations: 4 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3437, allocations: 0 / 0.567 GB, free: 14.83 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.0004606/0.3442, allocations: 363.3 kB / 0.5673 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3442, allocations: 8.031 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.3442, allocations: 0.9375 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.3443, allocations: 106.5 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3443, allocations: 384 / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.3443, allocations: 4.312 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.3445, allocations: 63.7 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3445, allocations: 0 / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.3445, allocations: 4 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.3445, allocations: 0 / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.963e-05/0.3445, allocations: 25.7 kB / 0.5675 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000124/0.3446, allocations: 105.3 kB / 0.5676 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.839e-05/0.3447, allocations: 44.31 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.3447, allocations: 34.5 kB / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-06/0.3447, allocations: 0 / 0.5677 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.3448, allocations: 60.31 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.3448, allocations: 4 kB / 0.5678 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002192/0.345, allocations: 122.7 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.345, allocations: 81.23 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.186e-05/0.3451, allocations: 97.8 kB / 0.5681 GB, free: 13.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3451, allocations: 25.7 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.3452, allocations: 84.12 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.3452, allocations: 0 / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.3452, allocations: 17.72 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3454, allocations: 310.8 kB / 0.5685 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.3454, allocations: 29.7 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.3454, allocations: 29.64 kB / 0.5685 GB, free: 13.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.376e-05/0.3455, allocations: 60.27 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3455, allocations: 4.062 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.439e-05/0.3456, allocations: 93.09 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.3456, allocations: 29.7 kB / 0.5687 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3456, allocations: 4 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3456, allocations: 3.938 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.3456, allocations: 0 / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.3456, allocations: 4 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.3456, allocations: 3.938 kB / 0.5687 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3457, allocations: 3.984 kB / 0.5687 GB, free: 12.77 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.0001043/0.3458, allocations: 139.6 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.3458, allocations: 3.938 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.237e-05/0.3458, allocations: 3 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3458, allocations: 7.922 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.3458, allocations: 0 / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-06/0.3458, allocations: 4 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3458, allocations: 4 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-06/0.3458, allocations: 0 / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.3458, allocations: 3.984 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001605/0.346, allocations: 215.8 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000185/0.3462, allocations: 278.1 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.929e-05/0.3462, allocations: 25.7 kB / 0.5694 GB, free: 12.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.928e-05/0.3462, allocations: 75.28 kB / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of Backend: time 1.41e-07/0.3462, allocations: 0 / 0.5695 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.3473, allocations: 458.8 kB / 0.5699 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004402/0.3477, allocations: 0.5755 MB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of Templates: time 0.008708/0.3564, allocations: 4.646 MB / 0.575 GB, free: 6.195 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.sim & ./ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/ComplexMath/TestComplexFunctions/TestComplexFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexFunctions.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.16790737699921]