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.00105/0.00105, allocations: 110.5 kB / 17.06 MB, free: 5.82 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.001101/0.001101, allocations: 195.9 kB / 18 MB, free: 4.965 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.333/1.333, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 51.92 kB / 351.3 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3173, allocations: 49.43 MB / 400.7 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01021/0.3275, allocations: 9.694 MB / 410.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005399/0.3329, allocations: 3.018 MB / 413.5 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.334, allocations: 47.81 kB / 413.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.3357, allocations: 0.6287 MB / 414.1 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.3379, allocations: 0.7453 MB / 414.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008513/0.3387, allocations: 371.4 kB / 415.2 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002854/0.3416, allocations: 2.432 MB / 417.7 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.3435, allocations: 1.743 MB / 419.4 MB, free: 6.102 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.345, allocations: 1.075 MB / 420.5 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.3467, allocations: 1.311 MB / 421.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003499/0.347, allocations: 276 kB / 422.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006626/0.3477, allocations: 371.8 kB / 422.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006761/0.3484, allocations: 0.7752 MB / 423.2 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.3496, allocations: 1.272 MB / 424.5 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003642/0.3532, allocations: 3.643 MB / 428.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.786e-06/0.3532, allocations: 11.98 kB / 428.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3532, allocations: 0 / 428.1 MB, free: 13.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.719e-05/0.3533, allocations: 0 / 428.1 MB, free: 13.35 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.004728/0.3581, allocations: 2.635 MB / 430.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3581, allocations: 12.03 kB / 430.8 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007087/0.3588, allocations: 275.4 kB / 431.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002175/0.361, allocations: 1.362 MB / 432.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.3611, allocations: 140.2 kB / 432.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002644/0.3614, allocations: 196.1 kB / 432.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003844/0.3653, allocations: 2.419 MB / 435.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.559e-05/0.3653, allocations: 15.83 kB / 435.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001655/0.3655, allocations: 79.98 kB / 435.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.903e-05/0.3656, allocations: 91.67 kB / 435.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.3688, allocations: 1.955 MB / 437.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0109/0.3798, allocations: 7.784 MB / 445.1 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.3813, allocations: 1.234 MB / 446.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/0.3831, allocations: 0.9644 MB / 447.3 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002224/0.3833, allocations: 118.1 kB / 447.4 MB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.3834, allocations: 43.56 kB / 447.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.535e-06/0.3834, allocations: 0 / 447.4 MB, free: 9.566 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01231/0.3957, allocations: 5.904 MB / 453.3 MB, free: 3.531 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3958, allocations: 64.41 kB / 453.4 MB, free: 3.453 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.3975, allocations: 1.31 MB / 454.7 MB, free: 2.137 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.3976, allocations: 41.7 kB / 454.8 MB, free: 2.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006523/0.3982, allocations: 0.9418 MB / 455.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.3986, allocations: 412.5 kB / 456.1 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/0.399, allocations: 255.4 kB / 456.3 MB, free: 488 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3992, allocations: 361.9 kB / 456.7 MB, free: 120 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009917/0.4002, allocations: 0.6403 MB / 457.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001214/0.4014, allocations: 0.9926 MB / 458.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.4036, allocations: 1.735 MB / 460.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.4037, allocations: 4 kB / 460.1 MB, free: 12.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003705/0.4074, allocations: 2.257 MB / 462.3 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/0.4074, allocations: 12 kB / 462.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.4074, allocations: 8 kB / 462.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.4086, allocations: 492.2 kB / 462.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.4097, allocations: 303.5 kB / 463.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007168/0.4169, allocations: 7.138 MB / 470.3 MB, free: 1.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.4181, allocations: 79.91 kB / 470.3 MB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.4182, allocations: 56 kB / 470.4 MB, free: 1.664 MB / 382.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.001053/0.4193, allocations: 0.6033 MB / 471 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.4196, allocations: 155 kB / 471.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/0.4229, allocations: 1.965 MB / 473.1 MB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.43e-05/0.423, allocations: 12 kB / 473.1 MB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.423, allocations: 4 kB / 473.1 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.423, allocations: 11.97 kB / 473.1 MB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007227/0.4303, allocations: 4.113 MB / 477.3 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/0.4303, allocations: 0 / 477.3 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008518/0.4312, allocations: 192 kB / 477.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001459/0.4326, allocations: 0.5429 MB / 478 MB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.824e-05/0.4328, allocations: 31.92 kB / 478 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008827/0.4416, allocations: 8.755 MB / 486.8 MB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.4416, allocations: 12.03 kB / 486.8 MB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004485/0.4461, allocations: 2.852 MB / 489.6 MB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007482/0.4469, allocations: 364 kB / 490 MB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/0.4473, allocations: 31.98 kB / 490 MB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009876/0.4483, allocations: 67.92 kB / 490.1 MB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.4485, allocations: 92.84 kB / 490.2 MB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.4486, allocations: 28 kB / 490.2 MB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00152/0.4502, allocations: 0.8878 MB / 491.1 MB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4502, allocations: 0 / 491.1 MB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001719/0.4519, allocations: 443.9 kB / 491.5 MB, free: 11.75 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.0003832/0.4523, allocations: 189.6 kB / 491.7 MB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003536/0.4558, allocations: 2.239 MB / 494 MB, free: 9.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.4559, allocations: 4.812 kB / 494 MB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.4581, allocations: 1.498 MB / 495.5 MB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.4601, allocations: 421.1 kB / 495.9 MB, free: 7.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006727/0.4668, allocations: 4.168 MB / 0.4883 GB, free: 3.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001619/0.4685, allocations: 1.642 MB / 0.4899 GB, free: 1.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001085/0.4696, allocations: 320.8 kB / 0.4902 GB, free: 1.02 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/0.4699, allocations: 99.42 kB / 0.4903 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4699, allocations: 0 / 0.4903 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of Templates: time 0.04731/0.5172, allocations: 24.09 MB / 0.5138 GB, free: 9.07 MB / 446.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins/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