Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 226.8 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009792/0.0009791, allocations: 106.2 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009699/0.0009702, allocations: 55.89 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2145, allocations: 50.45 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007637/0.2222, allocations: 9.651 MB / 416.7 MB, free: 18.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004708/0.2269, allocations: 3.055 MB / 419.8 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.2278, allocations: 47.81 kB / 419.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.2291, allocations: 0.5516 MB / 420.4 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.2305, allocations: 0.6682 MB / 421 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005492/0.231, allocations: 323.7 kB / 421.3 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001751/0.2328, allocations: 2.77 MB / 424.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.234, allocations: 1.43 MB / 425.5 MB, free: 9.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008642/0.2349, allocations: 0.9573 MB / 426.5 MB, free: 8.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001094/0.236, allocations: 1.272 MB / 427.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.2364, allocations: 176 kB / 427.9 MB, free: 6.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.2371, allocations: 279.8 kB / 428.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006971/0.2378, allocations: 0.6776 MB / 428.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.2389, allocations: 1.155 MB / 430.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002259/0.2412, allocations: 3.528 MB / 433.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2412, allocations: 0 / 433.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2412, allocations: 0 / 433.6 MB, free: 1.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.071e-05/0.2413, allocations: 4 kB / 433.6 MB, free: 1.145 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004389/0.2457, allocations: 2.587 MB / 436.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2457, allocations: 8.031 kB / 436.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007359/0.2465, allocations: 282 kB / 436.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/0.2486, allocations: 1.314 MB / 437.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2487, allocations: 140.2 kB / 437.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.249, allocations: 203.8 kB / 438.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003574/0.2526, allocations: 2.415 MB / 440.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.2526, allocations: 11.84 kB / 440.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001575/0.2528, allocations: 79.98 kB / 440.6 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-05/0.2529, allocations: 95.67 kB / 440.7 MB, free: 9.871 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.2559, allocations: 1.955 MB / 442.7 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.2673, allocations: 7.848 MB / 450.5 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.2688, allocations: 1.235 MB / 451.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.2704, allocations: 0.9362 MB / 452.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002318/0.2707, allocations: 122.1 kB / 452.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.2707, allocations: 39.56 kB / 452.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 2.915e-06/0.2707, allocations: 0 / 452.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.01195/0.2827, allocations: 5.865 MB / 458.7 MB, free: 7.414 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.2828, allocations: 76.22 kB / 458.8 MB, free: 7.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.2845, allocations: 1.302 MB / 460.1 MB, free: 6.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.823e-05/0.2846, allocations: 45.7 kB / 460.1 MB, free: 5.969 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005861/0.2851, allocations: 0.916 MB / 461 MB, free: 5.039 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.2854, allocations: 386.4 kB / 461.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.2858, allocations: 259.3 kB / 461.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.286, allocations: 357.9 kB / 462 MB, free: 4.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009469/0.2869, allocations: 0.6364 MB / 462.7 MB, free: 3.402 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/0.2882, allocations: 1.004 MB / 463.7 MB, free: 2.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.2904, allocations: 1.735 MB / 465.4 MB, free: 372 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.2904, allocations: 4 kB / 465.4 MB, free: 368 kB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003654/0.2941, allocations: 2.253 MB / 467.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2941, allocations: 14.66 kB / 467.7 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.2941, allocations: 12 kB / 467.7 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001191/0.2953, allocations: 488.2 kB / 468.2 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.2964, allocations: 299.5 kB / 468.4 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00682/0.3032, allocations: 6.539 MB / 475 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.3045, allocations: 95.83 kB / 475.1 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.3046, allocations: 51.98 kB / 475.1 MB, free: 6.188 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.3057, allocations: 0.6009 MB / 475.7 MB, free: 5.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000291/0.306, allocations: 142.2 kB / 475.9 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003385/0.3094, allocations: 1.968 MB / 477.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3094, allocations: 12 kB / 477.8 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3094, allocations: 4 kB / 477.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.3094, allocations: 7.969 kB / 477.9 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006707/0.3161, allocations: 4.151 MB / 482 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3162, allocations: 0 / 482 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008049/0.317, allocations: 183.7 kB / 482.2 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00146/0.3184, allocations: 0.5429 MB / 482.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.323e-05/0.3185, allocations: 27.98 kB / 482.8 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007667/0.3262, allocations: 8.03 MB / 490.8 MB, free: 5.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.3262, allocations: 8 kB / 490.8 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2109/0.5371, allocations: 24.44 MB / 0.5032 GB, free: 87.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006399/0.5378, allocations: 356.5 kB / 0.5035 GB, free: 86.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.538, allocations: 29.84 kB / 0.5035 GB, free: 86.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007749/0.5388, allocations: 69.64 kB / 0.5036 GB, free: 86.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.539, allocations: 86.22 kB / 0.5037 GB, free: 86.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.5391, allocations: 32.47 kB / 0.5037 GB, free: 86.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001298/0.5404, allocations: 0.8896 MB / 0.5046 GB, free: 86.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5404, allocations: 0 / 0.5046 GB, free: 86.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002463/0.5429, allocations: 0.6206 MB / 0.5052 GB, free: 86.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004708/0.5434, allocations: 195.3 kB / 0.5054 GB, free: 86.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003349/0.5467, allocations: 2.218 MB / 0.5075 GB, free: 86.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/0.5468, allocations: 0 / 0.5075 GB, free: 86.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.5489, allocations: 1.498 MB / 0.509 GB, free: 85.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.5509, allocations: 395.3 kB / 0.5094 GB, free: 85.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007834/0.5588, allocations: 6.473 MB / 0.5157 GB, free: 81.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.56, allocations: 1.687 MB / 0.5173 GB, free: 80.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001178/0.5612, allocations: 338.4 kB / 0.5177 GB, free: 80.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.5615, allocations: 104.1 kB / 0.5178 GB, free: 80.37 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5615, allocations: 0 / 0.5178 GB, free: 80.37 MB / 378.7 MB Notification: Performance of Templates: time 0.03857/0.6001, allocations: 28.99 MB / 0.5461 GB, free: 53.75 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches