Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001298/0.001298, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001572/0.001572, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.433/1.433, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2314/0.2314, allocations: 46.89 MB / 361.1 MB, free: 4.648 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-beta.om/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_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 79.88 kB / 0.4967 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3267, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001588/0.3283, allocations: 469.1 kB / 0.5616 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.332, allocations: 2.454 MB / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.389e-05/0.332, allocations: 0 / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.001e-05/0.332, allocations: 0 / 0.564 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.332, allocations: 0 / 0.564 GB, free: 2.117 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.002767/0.3348, allocations: 1.16 MB / 0.5651 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.944e-05/0.3348, allocations: 4 kB / 0.5652 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.3349, allocations: 7.922 kB / 0.5652 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.559e-05/0.3349, allocations: 4 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.736e-05/0.3349, allocations: 0 / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-06/0.3349, allocations: 0 / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.3366, allocations: 1.034 MB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.755e-06/0.3366, allocations: 0 / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.3366, allocations: 3.984 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006203/0.3372, allocations: 445.9 kB / 0.5666 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3372, allocations: 4 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3372, allocations: 0 / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3372, allocations: 0 / 0.5666 GB, free: 15.46 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.0005176/0.3377, allocations: 448.3 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3378, allocations: 8.031 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3378, allocations: 4.938 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3379, allocations: 160.4 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-06/0.3379, allocations: 384 / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3379, allocations: 384 / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.016e-05/0.338, allocations: 45.94 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.338, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.338, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3381, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.569e-05/0.3381, allocations: 0 / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.3382, allocations: 153.7 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.3383, allocations: 18.52 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.614e-05/0.3383, allocations: 8.844 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.143e-06/0.3383, allocations: 7.984 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.667e-05/0.3383, allocations: 64.27 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.3383, allocations: 0 / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001742/0.3385, allocations: 63.41 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.3386, allocations: 81.05 kB / 0.5676 GB, free: 14.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.138e-05/0.3386, allocations: 93.81 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.3386, allocations: 29.69 kB / 0.5677 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.3387, allocations: 80.27 kB / 0.5678 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.3387, allocations: 11.88 kB / 0.5678 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.3387, allocations: 13.72 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3389, allocations: 310.8 kB / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.117e-06/0.3389, allocations: 0 / 0.5681 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.3389, allocations: 4 kB / 0.5681 GB, free: 13.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.069e-05/0.339, allocations: 60.27 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.339, allocations: 0 / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.305e-05/0.339, allocations: 67.45 kB / 0.5683 GB, free: 13.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.3391, allocations: 33.7 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3391, allocations: 7.875 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.3391, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-07/0.3391, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.3391, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.3391, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3391, allocations: 0 / 0.5683 GB, free: 13.45 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.0001001/0.3392, allocations: 143.5 kB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.3392, allocations: 4.031 kB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.075e-05/0.3392, allocations: 7.062 kB / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.3392, allocations: 0 / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3392, allocations: 0 / 0.5684 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.3393, allocations: 85.05 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.3393, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.3393, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-06/0.3393, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001462/0.3395, allocations: 198.1 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001645/0.3396, allocations: 248.4 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.801e-05/0.3396, allocations: 4 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.189e-05/0.3397, allocations: 75.28 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of Backend: time 3.01e-07/0.3397, allocations: 0 / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009974/0.3407, allocations: 425.1 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004689/0.3411, allocations: 0.5833 MB / 0.57 GB, free: 11.55 MB / 414.1 MB Notification: Performance of Templates: time 0.008855/0.35, allocations: 4.626 MB / 0.5745 GB, free: 6.922 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 4.980792548973113]