Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001325/0.001325, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.001456/0.001456, allocations: 205.7 kB / 24.49 MB, free: 3.965 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.473/1.473, 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.2517/0.2517, allocations: 46.97 MB / 361.6 MB, free: 4.043 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.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations") translateModel(ModelicaTest.ComplexMath.TestComplexOperations,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 67.84 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3332, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.00164/0.3348, allocations: 481 kB / 0.5623 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.3386, allocations: 2.283 MB / 0.5645 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.39e-05/0.3386, allocations: 4 kB / 0.5645 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.459e-05/0.3386, allocations: 0 / 0.5645 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.282e-06/0.3386, allocations: 0 / 0.5645 GB, free: 1.426 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.002923/0.3416, allocations: 1.101 MB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.3416, allocations: 4 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.142e-05/0.3417, allocations: 4 kB / 0.5656 GB, free: 324 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.763e-05/0.3417, allocations: 7.984 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.964e-05/0.3417, allocations: 0 / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.43e-06/0.3417, allocations: 3.938 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.3433, allocations: 0.999 MB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.3433, allocations: 3.938 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.3433, allocations: 4 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006272/0.344, allocations: 437.5 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.344, allocations: 4 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.344, allocations: 0 / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.344, allocations: 7.938 kB / 0.567 GB, free: 14.86 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.000447/0.3444, allocations: 359.3 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3445, allocations: 8.031 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.406e-05/0.3445, allocations: 4.938 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.3446, allocations: 106.5 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3446, allocations: 384 / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.3446, allocations: 384 / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.999e-05/0.3447, allocations: 59.72 kB / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.3447, allocations: 0 / 0.5675 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.3447, allocations: 3.984 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.3447, allocations: 0 / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.312e-05/0.3448, allocations: 37.69 kB / 0.5675 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.3449, allocations: 101.2 kB / 0.5676 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.872e-05/0.3449, allocations: 52.25 kB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.345, allocations: 30.56 kB / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-06/0.345, allocations: 0 / 0.5677 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.345, allocations: 60.33 kB / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.345, allocations: 0 / 0.5678 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001979/0.3452, allocations: 130.7 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.3453, allocations: 81.05 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/0.3453, allocations: 97.94 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3453, allocations: 25.7 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.3454, allocations: 80.14 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.3454, allocations: 4 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.3454, allocations: 13.7 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.3456, allocations: 310.8 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.3456, allocations: 33.7 kB / 0.5685 GB, free: 13.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.735e-05/0.3456, allocations: 25.7 kB / 0.5685 GB, free: 13.04 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.346e-05/0.3457, allocations: 60.27 kB / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3457, allocations: 0 / 0.5686 GB, free: 12.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.964e-05/0.3457, allocations: 97.09 kB / 0.5687 GB, free: 12.85 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.3458, allocations: 33.7 kB / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3458, allocations: 0 / 0.5687 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3458, allocations: 7.938 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.3458, allocations: 0 / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3458, allocations: 0 / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.416e-05/0.3458, allocations: 0 / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3458, allocations: 0 / 0.5687 GB, free: 12.8 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.0001035/0.3459, allocations: 139.5 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-06/0.3459, allocations: 0 / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.028e-05/0.3459, allocations: 7.031 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3459, allocations: 3.938 kB / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.3459, allocations: 0 / 0.5689 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.19e-06/0.346, allocations: 4 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.346, allocations: 0 / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-06/0.346, allocations: 4 kB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-06/0.346, allocations: 0 / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001552/0.3461, allocations: 223.8 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000187/0.3463, allocations: 270.1 kB / 0.5694 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.444e-05/0.3464, allocations: 29.77 kB / 0.5694 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.253e-05/0.3464, allocations: 75.28 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Backend: time 2.5e-07/0.3464, allocations: 4 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.3474, allocations: 457.8 kB / 0.5699 GB, free: 11.51 MB / 414.1 MB Notification: Performance of SimCode: time 0.000425/0.3478, allocations: 0.5872 MB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of Templates: time 0.008751/0.3566, allocations: 4.636 MB / 0.575 GB, free: 6.227 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.sim & ./ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.ComplexMath.TestComplexOperations_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/ComplexMath/TestComplexOperations/TestComplexOperations.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.225968673003081]