Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.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.0009662/0.0009662, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001168/0.001168, allocations: 147.5 kB / 24.81 MB, free: 9.27 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.9762/0.9762, allocations: 173.4 MB / 201.4 MB, free: 9.219 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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|aimc.is.[0-9,]+.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 268.4 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.462e-05, allocations: 2.312 kB / 268.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.01361/0.01364, allocations: 12.42 MB / 280.9 MB, free: 9.688 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006843/0.02048, allocations: 4.117 MB / 285 MB, free: 5.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.02211, allocations: 99.31 kB / 285.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.02403, allocations: 0.9744 MB / 286.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002696/0.02672, allocations: 1.288 MB / 287.3 MB, free: 3.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008983/0.02762, allocations: 0.5187 MB / 287.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.118/0.1456, allocations: 4.784 MB / 292.6 MB, free: 16.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.1484, allocations: 2.019 MB / 294.7 MB, free: 16.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004659/0.153, allocations: 3.367 MB / 298 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003295/0.1563, allocations: 2.45 MB / 300.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001338/0.1576, allocations: 0.5419 MB / 301 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1591, allocations: 0.6346 MB / 301.7 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009366/0.16, allocations: 1.563 MB / 303.2 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.1617, allocations: 1.721 MB / 304.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002977/0.1647, allocations: 4.022 MB / 309 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1647, allocations: 2.156 kB / 309 MB, free: 12.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1647, allocations: 0 / 309 MB, free: 12.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001347/0.1649, allocations: 0 / 309 MB, free: 12.48 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.005364/0.1702, allocations: 4.78 MB / 313.7 MB, free: 9.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.534e-05/0.1703, allocations: 8.922 kB / 313.8 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/0.1712, allocations: 0.8098 MB / 314.6 MB, free: 8.789 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001925/0.1731, allocations: 2.209 MB / 316.8 MB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.1732, allocations: 266.5 kB / 317 MB, free: 6.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.1735, allocations: 355.6 kB / 317.4 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.1761, allocations: 2.809 MB / 320.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.966e-05/0.1762, allocations: 14.55 kB / 320.2 MB, free: 3.262 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001867/0.1764, allocations: 146.7 kB / 320.4 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.583e-05/0.1765, allocations: 183 kB / 320.5 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.1778, allocations: 1.033 MB / 321.6 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01146/0.1893, allocations: 11.59 MB / 333.2 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.1908, allocations: 1.403 MB / 334.6 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.1919, allocations: 0.8407 MB / 335.4 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.1921, allocations: 61.98 kB / 335.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.1922, allocations: 59.39 kB / 335.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 5.651e-06/0.1922, allocations: 0 / 335.5 MB, free: 4.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.007079/0.1993, allocations: 4.079 MB / 339.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1993, allocations: 73.41 kB / 339.7 MB, free: 472 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/0.2012, allocations: 1.825 MB / 341.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.904e-05/0.2013, allocations: 61.7 kB / 341.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008663/0.2021, allocations: 1.783 MB / 343.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004672/0.2026, allocations: 0.7925 MB / 344.1 MB, free: 12.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004611/0.2031, allocations: 449.3 kB / 344.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.709e-05/0.2032, allocations: 480.8 kB / 345 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.2036, allocations: 284.4 kB / 345.3 MB, free: 11.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.2043, allocations: 0.9606 MB / 346.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.2057, allocations: 1.465 MB / 347.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.2057, allocations: 4 kB / 347.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00295/0.2086, allocations: 1.89 MB / 349.6 MB, free: 6.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.2086, allocations: 15.94 kB / 349.7 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.2087, allocations: 15.75 kB / 349.7 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001373/0.21, allocations: 0.5943 MB / 350.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.2111, allocations: 498.9 kB / 350.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00523/0.2163, allocations: 7.566 MB / 358.3 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.2174, allocations: 75.97 kB / 358.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.2175, allocations: 68 kB / 358.5 MB, free: 13.6 MB / 314.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.0008855/0.2184, allocations: 302.9 kB / 358.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.2188, allocations: 334.4 kB / 359.1 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.2209, allocations: 1.667 MB / 360.7 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.2209, allocations: 27.19 kB / 360.8 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.2209, allocations: 11.94 kB / 360.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.2209, allocations: 11.95 kB / 360.8 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006115/0.227, allocations: 4.086 MB / 364.9 MB, free: 7.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.2271, allocations: 11.98 kB / 364.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.2279, allocations: 346.4 kB / 365.2 MB, free: 7.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/0.2293, allocations: 0.6445 MB / 365.9 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.2294, allocations: 55.97 kB / 365.9 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005737/0.2351, allocations: 9.245 MB / 375.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2351, allocations: 0 / 375.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003152/0.2383, allocations: 2.288 MB / 377.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/0.2392, allocations: 453.2 kB / 377.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002309/0.2395, allocations: 51.98 kB / 378 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006025/0.2401, allocations: 87.89 kB / 378 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005358/0.2406, allocations: 173.4 kB / 378.2 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.32e-05/0.2407, allocations: 43.98 kB / 378.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009535/0.2416, allocations: 0.961 MB / 379.2 MB, free: 8.828 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2416, allocations: 4 kB / 379.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001897/0.2435, allocations: 0.789 MB / 380 MB, free: 8.035 MB / 330.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.0004718/0.244, allocations: 246.1 kB / 380.2 MB, free: 7.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002812/0.2468, allocations: 2.014 MB / 382.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2468, allocations: 0 / 382.3 MB, free: 5.832 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001886/0.2487, allocations: 1.645 MB / 383.9 MB, free: 4.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.2507, allocations: 0.6468 MB / 384.6 MB, free: 3.539 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.2608, allocations: 6.392 MB / 390.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.2619, allocations: 1.022 MB / 392 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001169/0.263, allocations: 309 kB / 392.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/0.2648, allocations: 0.697 MB / 393 MB, free: 11.05 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2648, allocations: 0 / 393 MB, free: 11.05 MB / 346.7 MB Notification: Performance of Templates: time 0.06668/0.3314, allocations: 42.49 MB / 435.5 MB, free: 1.293 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/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.576613173354417]