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.001291/0.001291, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009543/0.0009543, allocations: 165 kB / 23.79 MB, free: 0.7773 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.017/1.017, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.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.1622/0.1622, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 2.225e-06/2.225e-06, allocations: 0 / 347.6 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.26e-05/3.483e-05, allocations: 2.312 kB / 347.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001857/0.001892, allocations: 0.4995 MB / 348.1 MB, free: 9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.005231, allocations: 2.276 MB / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.102e-05/0.005262, allocations: 0 / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.005284, allocations: 0 / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 1.143e-05/0.005295, allocations: 0 / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003102/0.008398, allocations: 1.167 MB / 351.6 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.325e-05/0.008491, allocations: 4 kB / 351.6 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.292e-05/0.008544, allocations: 4 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4e-05/0.008584, allocations: 3.984 kB / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.5e-05/0.008619, allocations: 0 / 351.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.008632, allocations: 4 kB / 351.6 MB, free: 5.512 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.009937, allocations: 0.9518 MB / 352.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.009949, allocations: 0 / 352.5 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.009974, allocations: 4 kB / 352.5 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.01053, allocations: 0.5066 MB / 353 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.01054, allocations: 0 / 353 MB, free: 4.047 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.01054, allocations: 3.938 kB / 353 MB, free: 4.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.01054, allocations: 0 / 353 MB, free: 4.043 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.000378/0.01092, allocations: 453.4 kB / 353.5 MB, free: 3.559 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.01097, allocations: 8.031 kB / 353.5 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.01101, allocations: 8.859 kB / 353.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.15e-05/0.01107, allocations: 112.6 kB / 353.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.01108, allocations: 384 / 353.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.01109, allocations: 384 / 353.6 MB, free: 3.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.708e-05/0.01118, allocations: 55.97 kB / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.0112, allocations: 192 / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.01121, allocations: 384 / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.01122, allocations: 3.938 kB / 353.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.184e-05/0.01124, allocations: 29.64 kB / 353.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.168e-05/0.01134, allocations: 112.6 kB / 353.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.05e-05/0.01139, allocations: 56.8 kB / 353.9 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.735e-05/0.0114, allocations: 37.39 kB / 353.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.01141, allocations: 0 / 353.9 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.01144, allocations: 63.16 kB / 354 MB, free: 2.957 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.01144, allocations: 0 / 354 MB, free: 2.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.01162, allocations: 122.7 kB / 354.1 MB, free: 2.812 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.01165, allocations: 81.05 kB / 354.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.005e-05/0.01168, allocations: 142.2 kB / 354.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.613e-06/0.01169, allocations: 25.7 kB / 354.3 MB, free: 2.531 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.398e-05/0.0117, allocations: 126.9 kB / 354.5 MB, free: 2.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.01172, allocations: 4.344 kB / 354.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.01175, allocations: 19.5 kB / 354.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.139e-05/0.01183, allocations: 496.1 kB / 355 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.01186, allocations: 33.7 kB / 355 MB, free: 1.836 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.01187, allocations: 25.7 kB / 355 MB, free: 1.805 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.01192, allocations: 63.09 kB / 355.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.01193, allocations: 0 / 355.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.378e-05/0.01201, allocations: 96.98 kB / 355.2 MB, free: 1.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.414e-05/0.01204, allocations: 29.7 kB / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01205, allocations: 0 / 355.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.01207, allocations: 4.094 kB / 355.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.302e-06/0.01208, allocations: 4 kB / 355.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.0121, allocations: 3.938 kB / 355.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.01212, allocations: 0 / 355.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.01213, allocations: 0 / 355.2 MB, free: 1.566 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.362e-05/0.0122, allocations: 190.2 kB / 355.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-06/0.01221, allocations: 7.922 kB / 355.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.127e-05/0.01222, allocations: 3 kB / 355.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.01222, allocations: 0 / 355.4 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.01223, allocations: 4 kB / 355.4 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01223, allocations: 7.938 kB / 355.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.349e-05/0.01229, allocations: 108.6 kB / 355.5 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01229, allocations: 4 kB / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.012e-06/0.01229, allocations: 0 / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01229, allocations: 0 / 355.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.0123, allocations: 4 kB / 355.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.0123, allocations: 0 / 355.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01231, allocations: 3.984 kB / 355.5 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.636e-05/0.0124, allocations: 131.7 kB / 355.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-06/0.01241, allocations: 0 / 355.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.01243, allocations: 8.016 kB / 355.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.797e-06/0.01244, allocations: 4 kB / 355.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.01246, allocations: 0 / 355.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.01246, allocations: 0 / 355.7 MB, free: 1.012 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.952e-05/0.01248, allocations: 123.1 kB / 355.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01248, allocations: 0 / 355.8 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003659/0.01285, allocations: 143.6 kB / 355.9 MB, free: 0.75 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.0008913/0.01374, allocations: 396.7 kB / 356.3 MB, free: 372 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.01391, allocations: 130.4 kB / 356.5 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01391, allocations: 0 / 356.5 MB, free: 212 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.01394, allocations: 88.8 kB / 356.5 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.01411, allocations: 0 / 356.5 MB, free: 100 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000282/0.0144, allocations: 117.8 kB / 356.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.647e-05/0.01444, allocations: 55.36 kB / 356.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.084e-06/0.01445, allocations: 0 / 356.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.01447, allocations: 8.5 kB / 356.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of SimCode: time 1.272e-06/0.01447, allocations: 0 / 356.7 MB, free: 15.87 MB / 298.7 MB Notification: Performance of Templates: time 0.0145/0.02897, allocations: 7.086 MB / 363.8 MB, free: 8.777 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2461571148596704]