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.001122/0.001122, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001792/0.002914, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.001017/0.001017, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.002498, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9537/0.9537, allocations: 173.3 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08534/1.039, allocations: 52.5 MB / 238.3 MB, free: 4.441 MB / 234.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.804e-06/1.804e-06, allocations: 0 / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.316e-05, allocations: 6.312 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01355/0.01357, allocations: 12.51 MB / 252.1 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.02619, allocations: 4.294 MB / 256.4 MB, free: 2.289 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.02795, allocations: 103.3 kB / 256.5 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007718/0.03567, allocations: 0.9898 MB / 257.5 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006952/0.04262, allocations: 1.285 MB / 258.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004238/0.04686, allocations: 0.5148 MB / 259.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.05741, allocations: 4.834 MB / 264.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00727/0.06468, allocations: 2.066 MB / 266.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.07675, allocations: 3.665 MB / 269.8 MB, free: 4.676 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005243/0.08199, allocations: 2.436 MB / 272.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001198/0.08319, allocations: 0.543 MB / 272.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.08446, allocations: 0.6288 MB / 273.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.112/0.1964, allocations: 1.272 MB / 274.7 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005281/0.2017, allocations: 1.419 MB / 276.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004798/0.2065, allocations: 3.777 MB / 279.9 MB, free: 8.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.2065, allocations: 2.172 kB / 279.9 MB, free: 8.629 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2065, allocations: 0 / 279.9 MB, free: 8.629 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.322e-05/0.2066, allocations: 0 / 279.9 MB, free: 8.629 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.006244/0.2129, allocations: 5.257 MB / 285.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/0.2129, allocations: 9.625 kB / 285.2 MB, free: 6.863 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001289/0.2142, allocations: 0.7342 MB / 285.9 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002227/0.2164, allocations: 1.618 MB / 287.5 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.2165, allocations: 270.9 kB / 287.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.2169, allocations: 355.6 kB / 288.1 MB, free: 6.164 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/0.2203, allocations: 2.852 MB / 291 MB, free: 5.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-05/0.2203, allocations: 12.77 kB / 291 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000275/0.2206, allocations: 144.1 kB / 291.1 MB, free: 5.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/0.2207, allocations: 185.5 kB / 291.3 MB, free: 5.555 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/0.2226, allocations: 1.067 MB / 292.4 MB, free: 5.453 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009386/0.2319, allocations: 9.167 MB / 301.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.233, allocations: 1.363 MB / 302.9 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007516/0.2337, allocations: 0.7729 MB / 303.7 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.2338, allocations: 67.59 kB / 303.8 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.2339, allocations: 52.56 kB / 303.8 MB, free: 248 kB / 266.7 MB Notification: Performance of pre-optimization done (n=198): time 2.585e-06/0.2339, allocations: 0 / 303.8 MB, free: 248 kB / 266.7 MB Notification: Performance of matching and sorting (n=218): time 0.006473/0.2403, allocations: 4.048 MB / 307.9 MB, free: 12.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.2404, allocations: 77.06 kB / 307.9 MB, free: 12.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.2421, allocations: 1.499 MB / 309.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003268/0.2424, allocations: 61.7 kB / 309.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006138/0.243, allocations: 1.358 MB / 310.9 MB, free: 9.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005133/0.2435, allocations: 0.7501 MB / 311.6 MB, free: 9.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004225/0.2439, allocations: 396.5 kB / 312 MB, free: 8.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.846e-05/0.244, allocations: 304.2 kB / 312.3 MB, free: 8.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.2445, allocations: 287.8 kB / 312.6 MB, free: 8.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.245, allocations: 0.7223 MB / 313.3 MB, free: 7.453 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.2462, allocations: 1.285 MB / 314.6 MB, free: 6.09 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.718e-06/0.2462, allocations: 4 kB / 314.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002119/0.2483, allocations: 1.529 MB / 316.1 MB, free: 4.641 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.2483, allocations: 12 kB / 316.1 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.2483, allocations: 15.94 kB / 316.1 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.2497, allocations: 0.586 MB / 316.7 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.251, allocations: 0.6201 MB / 317.3 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004237/0.2553, allocations: 5.706 MB / 323 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.2564, allocations: 78.83 kB / 323.1 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.2565, allocations: 75.92 kB / 323.2 MB, free: 13.41 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.001002/0.2575, allocations: 241.1 kB / 323.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004535/0.258, allocations: 239.5 kB / 323.7 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.2599, allocations: 1.407 MB / 325.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.2599, allocations: 20 kB / 325.1 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.2599, allocations: 16 kB / 325.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/0.26, allocations: 11.95 kB / 325.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005826/0.2658, allocations: 3.442 MB / 328.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.2658, allocations: 4 kB / 328.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.2671, allocations: 0.5475 MB / 329.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.2682, allocations: 332.6 kB / 329.4 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.2696, allocations: 0.6052 MB / 330 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.2697, allocations: 55.97 kB / 330.1 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005055/0.2748, allocations: 6.946 MB / 337 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.2748, allocations: 7.375 kB / 337.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.2775, allocations: 1.957 MB / 339 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003675/0.2779, allocations: 51.92 kB / 339.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.2785, allocations: 88 kB / 339.1 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.2788, allocations: 165 kB / 339.3 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.313e-05/0.2789, allocations: 47.98 kB / 339.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007549/0.2796, allocations: 0.7645 MB / 340.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2796, allocations: 2.844 kB / 340.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001849/0.2815, allocations: 0.7884 MB / 340.9 MB, free: 11.78 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.0004368/0.2819, allocations: 223.5 kB / 341.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002301/0.2842, allocations: 1.725 MB / 342.9 MB, free: 9.898 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.277e-05/0.2843, allocations: 45.69 kB / 342.9 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.2855, allocations: 1.339 MB / 344.2 MB, free: 8.535 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.2871, allocations: 0.8504 MB / 345.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02433/0.3114, allocations: 6.512 MB / 351.6 MB, free: 1.152 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.3122, allocations: 0.8766 MB / 352.5 MB, free: 264 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009164/0.3131, allocations: 317 kB / 352.8 MB, free: 15.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/0.3143, allocations: 0.6123 MB / 353.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3143, allocations: 0 / 353.4 MB, free: 15.32 MB / 330.7 MB Notification: Performance of Templates: time 0.05402/0.3683, allocations: 44.42 MB / 397.8 MB, free: 3.625 MB / 362.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 -emit_protected -ignoreHideResult -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.401313204318285]