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.001444/0.001444, allocations: 84.23 kB / 20.21 MB, free: 4.227 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.001481/0.001481, allocations: 161.7 kB / 23.52 MB, free: 0.918 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.523/1.523, allocations: 158.6 MB / 185.3 MB, free: 2.883 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.2349/0.2349, allocations: 32.38 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 179] 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.074e-06/2.074e-06, allocations: 3.938 kB / 346.9 MB, free: 9.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.954e-05, allocations: 2.312 kB / 346.9 MB, free: 9.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.ComplexMath.TestComplexOperations): time 0.001479/0.001508, allocations: 490.7 kB / 347.4 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.004566, allocations: 2.208 MB / 349.6 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.109e-05/0.004597, allocations: 4 kB / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.084e-05/0.004608, allocations: 0 / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.004615, allocations: 0 / 349.6 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.007281, allocations: 1.148 MB / 350.7 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.732e-05/0.007338, allocations: 7.984 kB / 350.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.007393, allocations: 0 / 350.7 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.007424, allocations: 4 kB / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.675e-05/0.007451, allocations: 0 / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.007459, allocations: 0 / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.008774, allocations: 0.9402 MB / 351.7 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.008787, allocations: 0 / 351.7 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.008823, allocations: 4 kB / 351.7 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.009451, allocations: 0.5027 MB / 352.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.009456, allocations: 0 / 352.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.009458, allocations: 0 / 352.2 MB, free: 4.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.009463, allocations: 4 kB / 352.2 MB, free: 4.527 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.0004401/0.009903, allocations: 355.3 kB / 352.5 MB, free: 4.145 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.009964, allocations: 12.03 kB / 352.6 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.845e-05/0.01003, allocations: 4.938 kB / 352.6 MB, free: 4.129 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.313e-05/0.01011, allocations: 101.8 kB / 352.7 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.01012, allocations: 4.312 kB / 352.7 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.01014, allocations: 4.375 kB / 352.7 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.01026, allocations: 59.95 kB / 352.7 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01027, allocations: 4.125 kB / 352.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.01028, allocations: 384 / 352.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.01029, allocations: 7.938 kB / 352.7 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.152e-05/0.01032, allocations: 29.7 kB / 352.8 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.01043, allocations: 93.33 kB / 352.9 MB, free: 3.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.193e-05/0.0105, allocations: 48.25 kB / 352.9 MB, free: 3.695 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.01052, allocations: 34.55 kB / 352.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.01054, allocations: 8.047 kB / 352.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.01059, allocations: 60.27 kB / 353 MB, free: 3.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 6.42e-07/0.01059, allocations: 0 / 353 MB, free: 3.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002703/0.01086, allocations: 110.8 kB / 353.1 MB, free: 3.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.01092, allocations: 89.03 kB / 353.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.945e-05/0.01096, allocations: 97.98 kB / 353.3 MB, free: 3.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.01097, allocations: 25.7 kB / 353.3 MB, free: 3.195 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.01099, allocations: 80.14 kB / 353.4 MB, free: 3.113 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.01102, allocations: 3.984 kB / 353.4 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.01105, allocations: 13.72 kB / 353.4 MB, free: 3.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.01114, allocations: 314.8 kB / 353.7 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.01117, allocations: 25.7 kB / 353.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.71e-05/0.01118, allocations: 29.7 kB / 353.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.254e-05/0.01125, allocations: 64.25 kB / 353.8 MB, free: 2.629 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01125, allocations: 4 kB / 353.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.221e-05/0.01132, allocations: 85.17 kB / 353.9 MB, free: 2.523 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/0.01137, allocations: 33.7 kB / 354 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.01137, allocations: 0 / 354 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.0114, allocations: 0 / 354 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.0114, allocations: 0 / 354 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.01141, allocations: 7.922 kB / 354 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.01143, allocations: 7.891 kB / 354 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.01143, allocations: 4 kB / 354 MB, free: 2.465 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 8.747e-05/0.01152, allocations: 135.5 kB / 354.1 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.01153, allocations: 8.031 kB / 354.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.01155, allocations: 3 kB / 354.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.01155, allocations: 0 / 354.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.01155, allocations: 0 / 354.1 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.01156, allocations: 3.938 kB / 354.1 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.863e-05/0.01163, allocations: 105.2 kB / 354.2 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.01163, allocations: 0 / 354.2 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.01163, allocations: 0 / 354.2 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.51e-07/0.01163, allocations: 0 / 354.2 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.01164, allocations: 0 / 354.2 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.01164, allocations: 0 / 354.2 MB, free: 2.168 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01164, allocations: 4 kB / 354.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.01176, allocations: 128.5 kB / 354.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-06/0.01176, allocations: 0 / 354.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.01178, allocations: 3.938 kB / 354.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-06/0.01179, allocations: 0 / 354.4 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.01182, allocations: 4 kB / 354.4 MB, free: 2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.01182, allocations: 0 / 354.4 MB, free: 2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.195e-05/0.01185, allocations: 79.22 kB / 354.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01185, allocations: 0 / 354.4 MB, free: 1.922 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005142/0.01236, allocations: 151.5 kB / 354.6 MB, free: 1.773 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.000904/0.01327, allocations: 401.5 kB / 355 MB, free: 1.383 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001451/0.01341, allocations: 110.8 kB / 355.1 MB, free: 1.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.01342, allocations: 4.062 kB / 355.1 MB, free: 1.246 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.037e-05/0.01347, allocations: 85.09 kB / 355.2 MB, free: 1.145 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.01363, allocations: 4 kB / 355.2 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.01395, allocations: 104 kB / 355.3 MB, free: 1.008 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.545e-05/0.01401, allocations: 55.3 kB / 355.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.624e-06/0.01402, allocations: 0 / 355.3 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.01403, allocations: 12.5 kB / 355.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01403, allocations: 0 / 355.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of Templates: time 0.01014/0.02417, allocations: 4.391 MB / 359.7 MB, free: 12.53 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.ComplexMath.TestComplexOperations.pipe 2>&1) [Timeout 480] 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.167984495055862]