Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.00143/0.00143, 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.001506/0.001506, allocations: 161.7 kB / 23.51 MB, free: 0.9219 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.611/1.611, allocations: 158.6 MB / 185.3 MB, free: 2.887 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.2538/0.2538, allocations: 32.37 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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.256e-06/3.256e-06, allocations: 3.984 kB / 346.9 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.057e-05/3.382e-05, allocations: 2.312 kB / 346.9 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003912/0.003946, allocations: 3.141 MB / 350.1 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.005402, allocations: 0.807 MB / 350.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002202/0.005622, allocations: 15.94 kB / 350.9 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.005844, allocations: 71.22 kB / 350.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.006079, allocations: 142.7 kB / 351.1 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.006467, allocations: 123.8 kB / 351.2 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.006834, allocations: 0.5371 MB / 351.7 MB, free: 4.977 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.007085, allocations: 170.3 kB / 351.9 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.00741, allocations: 327.3 kB / 352.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.007602, allocations: 171.5 kB / 352.4 MB, free: 4.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.843e-05/0.007661, allocations: 48 kB / 352.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.007722, allocations: 48 kB / 352.5 MB, free: 4.223 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.007785, allocations: 111.6 kB / 352.6 MB, free: 4.113 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.00792, allocations: 171.6 kB / 352.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.00838, allocations: 0.5685 MB / 353.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.008384, allocations: 0 / 353.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008386, allocations: 0 / 353.3 MB, free: 3.375 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.615e-06/0.008393, allocations: 4 kB / 353.3 MB, free: 3.371 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00119/0.009584, allocations: 0.6883 MB / 354 MB, free: 2.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.009627, allocations: 12.03 kB / 354 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.009765, allocations: 96.61 kB / 354.1 MB, free: 2.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.0102, allocations: 270.9 kB / 354.4 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.01023, allocations: 33.38 kB / 354.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.01031, allocations: 48.31 kB / 354.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007071/0.01102, allocations: 0.5032 MB / 355 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.01103, allocations: 192 / 355 MB, free: 1.645 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/0.01107, allocations: 16.38 kB / 355 MB, free: 1.629 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.01109, allocations: 19.94 kB / 355 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006316/0.01172, allocations: 328.4 kB / 355.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.01378, allocations: 1.47 MB / 356.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.01442, allocations: 229 kB / 357 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.01477, allocations: 125.9 kB / 357.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.01481, allocations: 15.92 kB / 357.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.01485, allocations: 34.78 kB / 357.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=26): time 1.402e-06/0.01485, allocations: 0 / 357.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.003269/0.01812, allocations: 1.123 MB / 358.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.0182, allocations: 81.11 kB / 358.4 MB, free: 14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/0.01854, allocations: 265.8 kB / 358.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/0.01858, allocations: 37.7 kB / 358.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.01881, allocations: 256.1 kB / 359 MB, free: 13.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.01893, allocations: 126.9 kB / 359.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.01907, allocations: 78.14 kB / 359.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.0193, allocations: 338.8 kB / 359.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.01961, allocations: 108.9 kB / 359.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.02005, allocations: 216.9 kB / 359.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007687/0.02082, allocations: 354.7 kB / 360.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.02082, allocations: 3.938 kB / 360.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009863/0.0218, allocations: 438.1 kB / 360.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.02183, allocations: 8 kB / 360.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.02184, allocations: 4 kB / 360.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.02203, allocations: 28.84 kB / 360.6 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000507/0.02254, allocations: 123.8 kB / 360.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.024, allocations: 1.316 MB / 362.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.02427, allocations: 19.98 kB / 362.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.02431, allocations: 20 kB / 362.1 MB, free: 10.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002461/0.02455, allocations: 165.7 kB / 362.3 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.02465, allocations: 43.8 kB / 362.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.405e-05/0.02474, allocations: 38.12 kB / 362.3 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.02474, allocations: 4 kB / 362.3 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.02475, allocations: 7.984 kB / 362.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.02476, allocations: 0 / 362.3 MB, free: 9.809 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.02622, allocations: 0.5771 MB / 362.9 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.02623, allocations: 3.938 kB / 362.9 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.02667, allocations: 92 kB / 363 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.02679, allocations: 28.78 kB / 363 MB, free: 9.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.02682, allocations: 15.98 kB / 363.1 MB, free: 9.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001296/0.02812, allocations: 1.304 MB / 364.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.02812, allocations: 0 / 364.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.02933, allocations: 0.6089 MB / 365 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.02945, allocations: 51.77 kB / 365 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.02949, allocations: 7.984 kB / 365 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.02977, allocations: 19.98 kB / 365.1 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.02985, allocations: 27.95 kB / 365.1 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.304e-05/0.02988, allocations: 12 kB / 365.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002213/0.0301, allocations: 181.2 kB / 365.3 MB, free: 6.719 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0301, allocations: 0 / 365.3 MB, free: 6.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004992/0.0306, allocations: 92 kB / 365.4 MB, free: 6.629 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.03076, allocations: 103.2 kB / 365.5 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000956/0.03172, allocations: 398.3 kB / 365.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03172, allocations: 0 / 365.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.03217, allocations: 246.4 kB / 366.1 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.03265, allocations: 43.72 kB / 366.1 MB, free: 5.824 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.03444, allocations: 0.8236 MB / 367 MB, free: 4.961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.0347, allocations: 207.8 kB / 367.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000172/0.03488, allocations: 34.95 kB / 367.2 MB, free: 4.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.552e-05/0.03496, allocations: 28.5 kB / 367.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03496, allocations: 0 / 367.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of Templates: time 0.0086/0.04356, allocations: 2.864 MB / 370.1 MB, free: 1.852 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.168601277982816]