Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 147.1 kB / 24.9 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9344/0.9344, allocations: 173.4 MB / 201.5 MB, free: 8.746 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.554e-05/2.691e-05, allocations: 6.25 kB / 268.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01087/0.0109, allocations: 12.45 MB / 281 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007799/0.01869, allocations: 4.267 MB / 285.3 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.02058, allocations: 103.3 kB / 285.4 MB, free: 5.066 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002071/0.02265, allocations: 0.9977 MB / 286.4 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.02567, allocations: 1.281 MB / 287.6 MB, free: 2.773 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.02667, allocations: 0.5226 MB / 288.2 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1154/0.1421, allocations: 4.8 MB / 293 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.1453, allocations: 2.064 MB / 295 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006345/0.1517, allocations: 3.346 MB / 298.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.156, allocations: 2.443 MB / 300.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001584/0.1576, allocations: 0.5428 MB / 301.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.1592, allocations: 0.6295 MB / 302 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.1602, allocations: 1.571 MB / 303.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002708/0.1629, allocations: 1.726 MB / 305.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.1676, allocations: 4.017 MB / 309.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1676, allocations: 2.719 kB / 309.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.1676, allocations: 0 / 309.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001884/0.1678, allocations: 0 / 309.3 MB, free: 11.93 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.006509/0.1743, allocations: 4.392 MB / 313.7 MB, free: 9.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1743, allocations: 12.92 kB / 313.7 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1753, allocations: 0.6591 MB / 314.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/0.1775, allocations: 1.61 MB / 316 MB, free: 7.117 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.983e-05/0.1776, allocations: 266.3 kB / 316.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.1779, allocations: 363.6 kB / 316.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.1808, allocations: 2.847 MB / 319.4 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.429e-05/0.1809, allocations: 15.45 kB / 319.5 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.1811, allocations: 149.3 kB / 319.6 MB, free: 3.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.1812, allocations: 183 kB / 319.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.1829, allocations: 1.061 MB / 320.8 MB, free: 2.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.1937, allocations: 9.129 MB / 330 MB, free: 9.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.195, allocations: 1.351 MB / 331.3 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.1962, allocations: 0.777 MB / 332.1 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.1964, allocations: 69.03 kB / 332.2 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.1964, allocations: 52.56 kB / 332.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 4.038e-06/0.1964, allocations: 0 / 332.2 MB, free: 7.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.006907/0.2033, allocations: 3.972 MB / 336.2 MB, free: 3.52 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.2034, allocations: 81.41 kB / 336.3 MB, free: 3.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.2046, allocations: 1.503 MB / 337.8 MB, free: 2.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.715e-05/0.2047, allocations: 61.7 kB / 337.8 MB, free: 2.105 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008472/0.2055, allocations: 1.352 MB / 339.2 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004282/0.206, allocations: 0.7637 MB / 339.9 MB, free: 112 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.2064, allocations: 395.7 kB / 340.3 MB, free: 15.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.2065, allocations: 301.1 kB / 340.6 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.2069, allocations: 287.5 kB / 340.9 MB, free: 15.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.2075, allocations: 0.7218 MB / 341.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.2087, allocations: 1.285 MB / 342.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/0.2087, allocations: 4 kB / 342.9 MB, free: 12.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002187/0.2109, allocations: 1.529 MB / 344.4 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2109, allocations: 12 kB / 344.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.211, allocations: 15.94 kB / 344.5 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001331/0.2123, allocations: 0.5645 MB / 345 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.2137, allocations: 0.592 MB / 345.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004621/0.2183, allocations: 5.715 MB / 351.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.2195, allocations: 71.94 kB / 351.4 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.2196, allocations: 71.92 kB / 351.5 MB, free: 4.332 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009226/0.2205, allocations: 255.7 kB / 351.7 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.2209, allocations: 235.7 kB / 352 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.2229, allocations: 1.41 MB / 353.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.2229, allocations: 24 kB / 353.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/0.2229, allocations: 4 kB / 353.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.223, allocations: 16 kB / 353.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005361/0.2283, allocations: 3.431 MB / 356.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.2283, allocations: 4 kB / 356.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.2295, allocations: 0.5234 MB / 357.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.2309, allocations: 0.6126 MB / 358 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.2311, allocations: 51.97 kB / 358 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004905/0.236, allocations: 6.953 MB / 365 MB, free: 6.844 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.236, allocations: 4 kB / 365 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.2387, allocations: 1.946 MB / 366.9 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007984/0.2395, allocations: 330.3 kB / 367.3 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.2397, allocations: 55.92 kB / 367.3 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.2403, allocations: 83.95 kB / 367.4 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.2406, allocations: 165.4 kB / 367.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.844e-05/0.2407, allocations: 47.98 kB / 367.6 MB, free: 4.219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008445/0.2416, allocations: 0.7627 MB / 368.4 MB, free: 3.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2416, allocations: 0 / 368.4 MB, free: 3.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002235/0.2438, allocations: 0.789 MB / 369.2 MB, free: 2.73 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,25,88.9%), (2,12,100.0%), (1,1,100.0%), (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.0004761/0.2443, allocations: 242.3 kB / 369.4 MB, free: 2.523 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.2465, allocations: 1.717 MB / 371.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.046e-05/0.2466, allocations: 26.62 kB / 371.1 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.248, allocations: 1.341 MB / 372.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001553/0.2495, allocations: 0.6402 MB / 373.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008364/0.2579, allocations: 6.15 MB / 379.3 MB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/0.2587, allocations: 0.8617 MB / 380.1 MB, free: 7.809 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009164/0.2596, allocations: 305 kB / 380.4 MB, free: 7.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/0.2607, allocations: 0.6152 MB / 381 MB, free: 6.887 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.2607, allocations: 0 / 381 MB, free: 6.887 MB / 330.7 MB Notification: Performance of Templates: time 0.05281/0.3135, allocations: 42.35 MB / 423.4 MB, free: 13.25 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.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: 4.7465942949056625]