Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.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.001167/0.001167, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00178/0.002947, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001163/0.001163, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001382/0.002545, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.048/1.048, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.149, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(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.1.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.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.592e-05/1.755e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.00991/0.009927, allocations: 12.55 MB / 257.1 MB, free: 1.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006594/0.01652, allocations: 4.372 MB / 261.5 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.01763, allocations: 103.3 kB / 261.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.01908, allocations: 0.9897 MB / 262.6 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002031/0.02111, allocations: 1.296 MB / 263.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008001/0.02191, allocations: 0.5227 MB / 264.4 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003752/0.02567, allocations: 4.842 MB / 269.2 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001939/0.0276, allocations: 2.066 MB / 271.3 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1376/0.1652, allocations: 3.667 MB / 275 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004339/0.1696, allocations: 2.432 MB / 277.4 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001857/0.1714, allocations: 0.5434 MB / 277.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001459/0.1729, allocations: 0.6513 MB / 278.6 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.1741, allocations: 1.274 MB / 279.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002212/0.1763, allocations: 1.422 MB / 281.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004016/0.1804, allocations: 3.795 MB / 285.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.1804, allocations: 2.406 kB / 285.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1804, allocations: 0 / 285.1 MB, free: 4.598 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001425/0.1805, allocations: 0 / 285.1 MB, free: 4.598 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.006098/0.1866, allocations: 5.277 MB / 290.4 MB, free: 2.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1867, allocations: 11.47 kB / 290.4 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.1877, allocations: 0.7608 MB / 291.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.1896, allocations: 1.636 MB / 292.8 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.1897, allocations: 266.3 kB / 293 MB, free: 2.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/0.19, allocations: 355.6 kB / 293.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.1925, allocations: 2.856 MB / 296.2 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-05/0.1926, allocations: 14.67 kB / 296.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/0.1928, allocations: 138.8 kB / 296.4 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.1929, allocations: 183.5 kB / 296.6 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.1943, allocations: 1.067 MB / 297.6 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008907/0.2032, allocations: 9.19 MB / 306.8 MB, free: 9.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.2046, allocations: 1.361 MB / 308.2 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009227/0.2056, allocations: 0.7763 MB / 308.9 MB, free: 7.094 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.2057, allocations: 65.98 kB / 309 MB, free: 7.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.2057, allocations: 52.56 kB / 309.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=198): time 2.815e-06/0.2057, allocations: 0 / 309.1 MB, free: 6.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=218): time 0.006996/0.2127, allocations: 3.979 MB / 313 MB, free: 3.066 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.2128, allocations: 81.34 kB / 313.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.2139, allocations: 1.509 MB / 314.6 MB, free: 1.719 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.24e-05/0.214, allocations: 61.7 kB / 314.7 MB, free: 1.652 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005251/0.2145, allocations: 1.363 MB / 316.1 MB, free: 376 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/0.2149, allocations: 0.7526 MB / 316.8 MB, free: 15.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.2153, allocations: 394.8 kB / 317.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.2154, allocations: 301.1 kB / 317.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.2158, allocations: 287.8 kB / 317.8 MB, free: 14.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.2163, allocations: 0.7235 MB / 318.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.2178, allocations: 1.296 MB / 319.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.2178, allocations: 0 / 319.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001834/0.2196, allocations: 1.532 MB / 321.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2196, allocations: 16 kB / 321.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.2196, allocations: 12 kB / 321.3 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.2208, allocations: 0.5757 MB / 321.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.2221, allocations: 0.6208 MB / 322.5 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004225/0.2264, allocations: 5.708 MB / 328.3 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.2269, allocations: 79.94 kB / 328.3 MB, free: 3.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.227, allocations: 71.98 kB / 328.4 MB, free: 3.836 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.000575/0.2276, allocations: 253.2 kB / 328.6 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/0.2279, allocations: 235.7 kB / 328.9 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.2296, allocations: 1.415 MB / 330.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.2296, allocations: 20 kB / 330.3 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.2296, allocations: 8 kB / 330.3 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.2296, allocations: 11.95 kB / 330.3 MB, free: 1.918 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004475/0.2341, allocations: 3.432 MB / 333.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.2341, allocations: 3.984 kB / 333.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.2353, allocations: 0.5465 MB / 334.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004793/0.2357, allocations: 328.7 kB / 334.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.237, allocations: 0.6203 MB / 335.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.32e-05/0.2371, allocations: 55.97 kB / 335.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004451/0.2416, allocations: 6.944 MB / 342.3 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2416, allocations: 11.31 kB / 342.3 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.2437, allocations: 1.952 MB / 344.2 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.2439, allocations: 47.98 kB / 344.3 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.2444, allocations: 87.95 kB / 344.3 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.2446, allocations: 165.5 kB / 344.5 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/0.2447, allocations: 50.52 kB / 344.6 MB, free: 3.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006015/0.2453, allocations: 0.7738 MB / 345.3 MB, free: 2.977 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2453, allocations: 4 kB / 345.3 MB, free: 2.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001361/0.2466, allocations: 0.7851 MB / 346.1 MB, free: 2.188 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.0003808/0.247, allocations: 228.7 kB / 346.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.2487, allocations: 1.72 MB / 348.1 MB, free: 324 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-05/0.2488, allocations: 45.69 kB / 348.1 MB, free: 280 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.2501, allocations: 1.344 MB / 349.5 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.2516, allocations: 0.8572 MB / 350.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/0.2735, allocations: 6.524 MB / 356.8 MB, free: 7.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.2742, allocations: 0.8806 MB / 357.7 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007939/0.275, allocations: 313.1 kB / 358 MB, free: 6.336 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.2761, allocations: 0.6162 MB / 358.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.2761, allocations: 0 / 358.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of Templates: time 0.04986/0.3259, allocations: 44.57 MB / 403.2 MB, free: 9.883 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.46980016771704]