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.001545/0.001545, allocations: 111.1 kB / 17.74 MB, free: 5.336 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.00187/0.00187, allocations: 188.2 kB / 18.67 MB, free: 4.41 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 47.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2674, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01057/0.278, allocations: 9.703 MB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005851/0.284, allocations: 3.015 MB / 414.1 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.2854, allocations: 47.81 kB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002117/0.2876, allocations: 0.6246 MB / 414.8 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00275/0.2903, allocations: 0.7492 MB / 415.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.2916, allocations: 371.4 kB / 415.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003246/0.2949, allocations: 2.428 MB / 418.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002354/0.2972, allocations: 1.747 MB / 420.1 MB, free: 6.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.2989, allocations: 1.082 MB / 421.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.3011, allocations: 1.308 MB / 422.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006554/0.3018, allocations: 279.9 kB / 422.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.3029, allocations: 375.8 kB / 423.1 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009556/0.3038, allocations: 0.7752 MB / 423.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002107/0.3059, allocations: 1.268 MB / 425.2 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004373/0.3103, allocations: 3.629 MB / 428.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.3104, allocations: 7.984 kB / 428.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3104, allocations: 4 kB / 428.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001216/0.3105, allocations: 0 / 428.8 MB, free: 13.36 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.006259/0.3168, allocations: 2.583 MB / 431.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3168, allocations: 8.031 kB / 431.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008874/0.3177, allocations: 266 kB / 431.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002524/0.3203, allocations: 1.349 MB / 433 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.3204, allocations: 144.1 kB / 433.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.3208, allocations: 192 kB / 433.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/0.3254, allocations: 2.422 MB / 435.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.885e-05/0.3255, allocations: 7.906 kB / 435.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.3258, allocations: 76 kB / 435.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.3259, allocations: 91.67 kB / 435.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/0.3295, allocations: 1.959 MB / 437.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01278/0.3423, allocations: 7.769 MB / 445.7 MB, free: 12.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001725/0.344, allocations: 1.227 MB / 446.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.3459, allocations: 0.9683 MB / 447.9 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000242/0.3462, allocations: 118.1 kB / 448 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3462, allocations: 47.5 kB / 448 MB, free: 9.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 3.146e-06/0.3462, allocations: 0 / 448 MB, free: 9.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.0131/0.3593, allocations: 5.87 MB / 453.9 MB, free: 3.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3594, allocations: 64.41 kB / 453.9 MB, free: 3.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002266/0.3617, allocations: 1.313 MB / 455.3 MB, free: 2.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.3618, allocations: 41.7 kB / 455.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008333/0.3627, allocations: 0.9121 MB / 456.2 MB, free: 1.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.3631, allocations: 394.4 kB / 456.6 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004848/0.3636, allocations: 247.4 kB / 456.8 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3638, allocations: 361.9 kB / 457.2 MB, free: 304 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.3649, allocations: 0.6403 MB / 457.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.3662, allocations: 0.9964 MB / 458.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.3685, allocations: 1.731 MB / 460.6 MB, free: 12.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.3685, allocations: 7.938 kB / 460.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003924/0.3725, allocations: 2.249 MB / 462.8 MB, free: 10.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.3725, allocations: 12 kB / 462.8 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.3725, allocations: 8 kB / 462.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.3738, allocations: 496.1 kB / 463.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.375, allocations: 307.5 kB / 463.6 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00775/0.3828, allocations: 7.126 MB / 470.8 MB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.3845, allocations: 79.91 kB / 470.8 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.3847, allocations: 56 kB / 470.9 MB, free: 1.852 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.00135/0.3861, allocations: 0.6072 MB / 471.5 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/0.3866, allocations: 150.2 kB / 471.6 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/0.3904, allocations: 1.961 MB / 473.6 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3905, allocations: 8 kB / 473.6 MB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/0.3905, allocations: 12 kB / 473.6 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.3905, allocations: 7.969 kB / 473.6 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007916/0.3984, allocations: 4.117 MB / 477.7 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/0.3985, allocations: 4 kB / 477.7 MB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.3993, allocations: 187.7 kB / 477.9 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/0.4008, allocations: 0.539 MB / 478.5 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.401, allocations: 31.92 kB / 478.5 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00845/0.4094, allocations: 8.75 MB / 487.2 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/0.4095, allocations: 11.88 kB / 487.3 MB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004756/0.4142, allocations: 2.84 MB / 490.1 MB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008091/0.4151, allocations: 355.3 kB / 490.4 MB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/0.4154, allocations: 35.92 kB / 490.5 MB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009691/0.4164, allocations: 67.92 kB / 490.5 MB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.4167, allocations: 88.81 kB / 490.6 MB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/0.4168, allocations: 28 kB / 490.7 MB, free: 13.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001515/0.4183, allocations: 0.8878 MB / 491.6 MB, free: 12.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4183, allocations: 4 kB / 491.6 MB, free: 12.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001695/0.42, allocations: 444 kB / 492 MB, free: 11.96 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.0004058/0.4204, allocations: 190.9 kB / 492.2 MB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00357/0.424, allocations: 2.232 MB / 494.4 MB, free: 9.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.424, allocations: 8.062 kB / 494.4 MB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002307/0.4264, allocations: 1.49 MB / 495.9 MB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/0.4288, allocations: 424.5 kB / 496.3 MB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00821/0.4371, allocations: 4.149 MB / 0.4887 GB, free: 3.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/0.4388, allocations: 1.626 MB / 0.4903 GB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004875/0.4393, allocations: 111.4 kB / 0.4904 GB, free: 1.48 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4393, allocations: 0 / 0.4904 GB, free: 1.48 MB / 414.1 MB Notification: Performance of Templates: time 0.2797/0.7191, allocations: 70.86 MB / 0.5596 GB, free: 121.9 MB / 462.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/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