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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001589/0.001589, allocations: 112.4 kB / 18.45 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002094, allocations: 208 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2297, allocations: 50.54 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01023/0.24, allocations: 9.728 MB / 419.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005531/0.2456, allocations: 3.092 MB / 422.8 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.2468, allocations: 47.81 kB / 422.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.2484, allocations: 0.6326 MB / 423.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002285/0.2507, allocations: 0.7374 MB / 424.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008841/0.2516, allocations: 391.4 kB / 424.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002664/0.2543, allocations: 2.44 MB / 427 MB, free: 428 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.2563, allocations: 1.743 MB / 428.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.2578, allocations: 1.094 MB / 429.9 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.2595, allocations: 1.315 MB / 431.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004082/0.2599, allocations: 280 kB / 431.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007198/0.2607, allocations: 379.8 kB / 431.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006733/0.2614, allocations: 0.783 MB / 432.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.2626, allocations: 1.268 MB / 433.9 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.266, allocations: 3.653 MB / 437.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.266, allocations: 4 kB / 437.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.113e-06/0.266, allocations: 0 / 437.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.14e-05/0.2661, allocations: 0 / 437.5 MB, free: 5.836 MB / 350.1 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.00484/0.2709, allocations: 2.595 MB / 440.1 MB, free: 3.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.271, allocations: 12.03 kB / 440.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007838/0.2718, allocations: 282 kB / 440.4 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.2739, allocations: 1.353 MB / 441.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.2741, allocations: 144.1 kB / 441.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.2743, allocations: 203.8 kB / 442.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003923/0.2783, allocations: 2.415 MB / 444.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.311e-05/0.2784, allocations: 11.91 kB / 444.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001698/0.2785, allocations: 72 kB / 444.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.004e-05/0.2786, allocations: 87.69 kB / 444.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.2818, allocations: 1.962 MB / 446.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.2932, allocations: 7.769 MB / 454.4 MB, free: 4.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.2949, allocations: 1.219 MB / 455.6 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/0.2967, allocations: 0.9684 MB / 456.6 MB, free: 2.312 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.2969, allocations: 118 kB / 456.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.297, allocations: 51.48 kB / 456.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 4.188e-06/0.297, allocations: 7.922 kB / 456.8 MB, free: 2.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01249/0.3095, allocations: 5.862 MB / 462.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3096, allocations: 68.34 kB / 462.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.3114, allocations: 1.306 MB / 464 MB, free: 10.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.3115, allocations: 45.7 kB / 464 MB, free: 10.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.3121, allocations: 0.9198 MB / 465 MB, free: 9.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.3125, allocations: 390.4 kB / 465.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003761/0.3128, allocations: 251.5 kB / 465.6 MB, free: 9.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.313, allocations: 361.9 kB / 465.9 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000975/0.314, allocations: 0.6364 MB / 466.6 MB, free: 8.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.3151, allocations: 0.9964 MB / 467.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/0.3174, allocations: 1.739 MB / 469.3 MB, free: 5.051 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3174, allocations: 4 kB / 469.3 MB, free: 5.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003763/0.3212, allocations: 2.253 MB / 471.6 MB, free: 2.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3212, allocations: 8 kB / 471.6 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.3212, allocations: 12 kB / 471.6 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.3224, allocations: 492.1 kB / 472.1 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.3236, allocations: 303.5 kB / 472.4 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007039/0.3306, allocations: 7.127 MB / 479.5 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.3319, allocations: 83.91 kB / 479.6 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.3321, allocations: 60.06 kB / 479.6 MB, free: 10.27 MB / 398.1 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.001128/0.3332, allocations: 0.6027 MB / 480.2 MB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004/0.3336, allocations: 146.4 kB / 480.4 MB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003524/0.3372, allocations: 1.969 MB / 482.4 MB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.3372, allocations: 15.94 kB / 482.4 MB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.3372, allocations: 4 kB / 482.4 MB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3372, allocations: 7.969 kB / 482.4 MB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006997/0.3442, allocations: 4.128 MB / 486.5 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.3443, allocations: 0 / 486.5 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008278/0.3451, allocations: 187.8 kB / 486.7 MB, free: 3.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.3466, allocations: 0.5386 MB / 487.2 MB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.3468, allocations: 35.92 kB / 487.3 MB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008342/0.3551, allocations: 8.742 MB / 496 MB, free: 9.184 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.3552, allocations: 7.969 kB / 496 MB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/0.3598, allocations: 2.859 MB / 498.9 MB, free: 6.254 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007105/0.3605, allocations: 355.2 kB / 499.2 MB, free: 5.887 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002986/0.3608, allocations: 24 kB / 499.2 MB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009061/0.3617, allocations: 71.92 kB / 499.3 MB, free: 5.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/0.362, allocations: 88.84 kB / 499.4 MB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/0.3621, allocations: 35.98 kB / 499.4 MB, free: 5.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.3635, allocations: 0.8918 MB / 0.4886 GB, free: 4.777 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3635, allocations: 0 / 0.4886 GB, free: 4.777 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001605/0.3651, allocations: 436 kB / 0.489 GB, free: 4.352 MB / 414.1 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.0003904/0.3655, allocations: 199.3 kB / 0.4892 GB, free: 4.145 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003448/0.369, allocations: 2.232 MB / 0.4914 GB, free: 1.832 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.369, allocations: 4.688 kB / 0.4914 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002312/0.3714, allocations: 1.49 MB / 0.4928 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/0.3736, allocations: 428.1 kB / 0.4933 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006762/0.3804, allocations: 4.152 MB / 0.4973 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.3818, allocations: 1.638 MB / 0.4989 GB, free: 9.969 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000449/0.3823, allocations: 107.4 kB / 0.499 GB, free: 9.863 MB / 430.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3823, allocations: 0 / 0.499 GB, free: 9.863 MB / 430.1 MB Notification: Performance of Templates: time 0.2426/0.6248, allocations: 71.08 MB / 0.5684 GB, free: 107.8 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches