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.0007745/0.0007745, allocations: 95.8 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001045/0.001045, allocations: 202.1 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.7 MB / 247.5 MB, free: 9.688 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002308/0.000231, allocations: 4 kB / 308.4 MB, free: 0.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09226, allocations: 51.52 MB / 359.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.009487/0.1018, allocations: 9.153 MB / 369.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005444/0.1073, allocations: 3.031 MB / 372.1 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.1086, allocations: 47.81 kB / 372.1 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.1104, allocations: 0.5516 MB / 372.7 MB, free: 256 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1769/0.2873, allocations: 0.669 MB / 373.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.2886, allocations: 337.9 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00447/0.2931, allocations: 2.733 MB / 376.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002521/0.2956, allocations: 1.426 MB / 377.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.2977, allocations: 0.8431 MB / 378.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.3, allocations: 1.129 MB / 379.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006801/0.3007, allocations: 122.9 kB / 379.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.3021, allocations: 238.4 kB / 380.2 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.3034, allocations: 0.5975 MB / 380.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002759/0.3062, allocations: 1.09 MB / 381.9 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004708/0.3109, allocations: 2.923 MB / 384.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3109, allocations: 4 kB / 384.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.3109, allocations: 0 / 384.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.00016/0.3111, allocations: 5.188 kB / 384.8 MB, free: 8.562 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.005754/0.3169, allocations: 2.197 MB / 387 MB, free: 7.133 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3169, allocations: 10.06 kB / 387 MB, free: 7.133 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.3181, allocations: 274.7 kB / 387.3 MB, free: 7.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.3205, allocations: 1.322 MB / 388.6 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.3207, allocations: 150 kB / 388.7 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.321, allocations: 191.8 kB / 388.9 MB, free: 5.906 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.3253, allocations: 2.421 MB / 391.3 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.622e-05/0.3254, allocations: 11.69 kB / 391.4 MB, free: 4.477 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.3256, allocations: 77.75 kB / 391.4 MB, free: 4.418 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.783e-05/0.3257, allocations: 91.55 kB / 391.5 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.3291, allocations: 1.961 MB / 393.5 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.3415, allocations: 7.901 MB / 401.4 MB, free: 13.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.3433, allocations: 1.233 MB / 402.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.3451, allocations: 0.945 MB / 403.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.3453, allocations: 127.3 kB / 403.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3454, allocations: 39.56 kB / 403.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=95): time 4.478e-06/0.3454, allocations: 4 kB / 403.7 MB, free: 11.83 MB / 318.1 MB Notification: Performance of matching and sorting (n=111): time 0.01344/0.3588, allocations: 5.943 MB / 409.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.3589, allocations: 60.41 kB / 409.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.361, allocations: 1.31 MB / 411 MB, free: 4.359 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.3611, allocations: 45.7 kB / 411.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006166/0.3617, allocations: 0.9285 MB / 412 MB, free: 3.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/0.3621, allocations: 387.7 kB / 412.4 MB, free: 2.996 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.3622, allocations: 113.7 kB / 412.5 MB, free: 2.879 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.3624, allocations: 361.9 kB / 412.9 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009815/0.3634, allocations: 0.6364 MB / 413.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.3646, allocations: 1.004 MB / 414.5 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0023/0.3669, allocations: 1.745 MB / 416.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.3669, allocations: 4 kB / 416.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00383/0.3708, allocations: 2.249 MB / 418.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.3708, allocations: 16.03 kB / 418.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.3708, allocations: 12 kB / 418.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.3721, allocations: 499.8 kB / 419 MB, free: 12.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.3733, allocations: 299.5 kB / 419.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006694/0.38, allocations: 6.54 MB / 425.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.3815, allocations: 99.84 kB / 425.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.3816, allocations: 56 kB / 426 MB, free: 4.645 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.001339/0.383, allocations: 0.5988 MB / 426.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/0.3834, allocations: 146.2 kB / 426.7 MB, free: 3.891 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/0.3869, allocations: 1.976 MB / 428.7 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.3869, allocations: 12 kB / 428.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3869, allocations: 4 kB / 428.7 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3869, allocations: 3.984 kB / 428.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007073/0.394, allocations: 4.147 MB / 432.9 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.394, allocations: 7.938 kB / 432.9 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/0.3948, allocations: 183.7 kB / 433.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.3963, allocations: 0.5351 MB / 433.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-05/0.3965, allocations: 31.98 kB / 433.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008024/0.4045, allocations: 8.048 MB / 441.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4045, allocations: 0 / 441.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/0.4094, allocations: 2.864 MB / 444.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00095/0.4104, allocations: 359.1 kB / 444.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004294/0.4108, allocations: 31.98 kB / 444.9 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.4119, allocations: 75.92 kB / 445 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.4122, allocations: 88.84 kB / 445.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/0.4123, allocations: 35.92 kB / 445.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001721/0.414, allocations: 0.8958 MB / 446 MB, free: 15.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.414, allocations: 0 / 446 MB, free: 15.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001883/0.4159, allocations: 436 kB / 446.4 MB, free: 15.44 MB / 366.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.0003937/0.4163, allocations: 184.5 kB / 446.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003507/0.4198, allocations: 2.233 MB / 448.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4199, allocations: 0 / 448.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002228/0.4221, allocations: 1.514 MB / 450.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.4249, allocations: 399.4 kB / 450.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008064/0.4329, allocations: 5.199 MB / 456 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/0.4346, allocations: 1.63 MB / 457.6 MB, free: 4.059 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000482/0.4351, allocations: 107.4 kB / 457.7 MB, free: 3.953 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4351, allocations: 0 / 457.7 MB, free: 3.953 MB / 366.1 MB Notification: Performance of Templates: time 0.08189/0.517, allocations: 70.59 MB / 0.5159 GB, free: 13.39 MB / 446.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