Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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_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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 115.4 kB / 17.69 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 191 kB / 18.63 MB, free: 4.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 51.72 kB / 302.1 MB, free: 5.172 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09057, allocations: 49.45 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01043/0.101, allocations: 9.688 MB / 361.2 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005244/0.1063, allocations: 3.015 MB / 364.2 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008888/0.1072, allocations: 47.81 kB / 364.3 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.1087, allocations: 0.6248 MB / 364.9 MB, free: 6.254 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.1104, allocations: 0.7491 MB / 365.6 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007506/0.1111, allocations: 375.5 kB / 366 MB, free: 5.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.1134, allocations: 2.43 MB / 368.4 MB, free: 2.691 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001934/0.1153, allocations: 1.743 MB / 370.2 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1724/0.2878, allocations: 1.071 MB / 371.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002597/0.2904, allocations: 1.309 MB / 372.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007957/0.2912, allocations: 277.7 kB / 372.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2923, allocations: 368 kB / 373.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008444/0.2932, allocations: 0.7729 MB / 374 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003431/0.2966, allocations: 1.272 MB / 375.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005152/0.3018, allocations: 3.635 MB / 378.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3018, allocations: 0 / 378.9 MB, free: 11.56 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3019, allocations: 3.938 kB / 378.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.918e-05/0.3019, allocations: 0 / 378.9 MB, free: 11.55 MB / 302.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.005611/0.3076, allocations: 2.581 MB / 381.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3076, allocations: 16.48 kB / 381.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/0.3084, allocations: 263.3 kB / 381.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.3107, allocations: 1.346 MB / 383.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.882e-05/0.3108, allocations: 146.5 kB / 383.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.3111, allocations: 198.1 kB / 383.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004102/0.3152, allocations: 2.417 MB / 385.8 MB, free: 8.742 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/0.3153, allocations: 10.25 kB / 385.8 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.3155, allocations: 78.17 kB / 385.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001158/0.3157, allocations: 91.84 kB / 386 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003505/0.3192, allocations: 1.963 MB / 388 MB, free: 7.938 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.3313, allocations: 7.757 MB / 395.7 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.3329, allocations: 1.229 MB / 397 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.3342, allocations: 0.9455 MB / 397.9 MB, free: 1.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.3345, allocations: 119.5 kB / 398 MB, free: 1.074 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3345, allocations: 42.94 kB / 398.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.655e-06/0.3345, allocations: 4 kB / 398.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01211/0.3466, allocations: 5.854 MB / 403.9 MB, free: 12.88 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3467, allocations: 70.27 kB / 404 MB, free: 12.8 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.3487, allocations: 1.302 MB / 405.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.3489, allocations: 49.7 kB / 405.3 MB, free: 11.44 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.3495, allocations: 0.9159 MB / 406.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.3498, allocations: 393.1 kB / 406.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004016/0.3502, allocations: 255.3 kB / 406.9 MB, free: 9.883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3504, allocations: 361.9 kB / 407.2 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009897/0.3514, allocations: 0.64 MB / 407.9 MB, free: 8.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/0.3525, allocations: 1.002 MB / 408.9 MB, free: 7.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002199/0.3547, allocations: 1.731 MB / 410.6 MB, free: 5.898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.3548, allocations: 4 kB / 410.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003755/0.3585, allocations: 2.242 MB / 412.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.3586, allocations: 15.94 kB / 412.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.3586, allocations: 11.98 kB / 412.9 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.3598, allocations: 495.8 kB / 413.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.3609, allocations: 301.2 kB / 413.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006955/0.3679, allocations: 7.123 MB / 420.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.3693, allocations: 87.81 kB / 420.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.3694, allocations: 52.06 kB / 420.9 MB, free: 11.27 MB / 334.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.001166/0.3706, allocations: 0.6128 MB / 421.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.3709, allocations: 138.3 kB / 421.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/0.3743, allocations: 1.97 MB / 423.6 MB, free: 8.551 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.3743, allocations: 12 kB / 423.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.3743, allocations: 4 kB / 423.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.3743, allocations: 7.969 kB / 423.7 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007051/0.3814, allocations: 4.125 MB / 427.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.3814, allocations: 0 / 427.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008173/0.3822, allocations: 188.1 kB / 428 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.3837, allocations: 0.5335 MB / 428.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.019e-05/0.3838, allocations: 31.97 kB / 428.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009037/0.3928, allocations: 8.761 MB / 437.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.3929, allocations: 6.656 kB / 437.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005317/0.3982, allocations: 2.857 MB / 440.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.3995, allocations: 363.2 kB / 440.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.3998, allocations: 24 kB / 440.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007893/0.4006, allocations: 67.92 kB / 440.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/0.4008, allocations: 91.44 kB / 440.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.839e-05/0.4009, allocations: 31.98 kB / 440.7 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001552/0.4025, allocations: 0.8917 MB / 441.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4025, allocations: 0 / 441.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001978/0.4045, allocations: 440 kB / 442 MB, free: 5.535 MB / 350.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.0003861/0.4049, allocations: 183.4 kB / 442.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.4083, allocations: 2.245 MB / 444.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.4083, allocations: 0 / 444.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.4105, allocations: 1.497 MB / 446 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.4125, allocations: 413.8 kB / 446.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006377/0.4189, allocations: 4.105 MB / 450.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.4202, allocations: 1.642 MB / 452.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009569/0.4212, allocations: 324.8 kB / 452.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.4215, allocations: 99.42 kB / 452.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4215, allocations: 4 kB / 452.5 MB, free: 10.89 MB / 366.1 MB Notification: Performance of Templates: time 0.03874/0.4602, allocations: 23.7 MB / 476.2 MB, free: 3.516 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches