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.000728/0.0007281, allocations: 97.16 kB / 17.31 MB, free: 5.938 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.00078/0.00078, allocations: 186.5 kB / 18.22 MB, free: 5.414 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.278/1.278, allocations: 223.3 MB / 242.3 MB, free: 14.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002152/0.0002152, allocations: 7.938 kB / 302.1 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07386/0.07409, allocations: 50.41 MB / 352.5 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.008481/0.08261, allocations: 9.1 MB / 361.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.08628, allocations: 2.964 MB / 364.6 MB, free: 7.312 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004167/0.08671, allocations: 47.75 kB / 364.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.08778, allocations: 0.5477 MB / 365.2 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.08905, allocations: 0.6721 MB / 365.8 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.08958, allocations: 327.7 kB / 366.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.09178, allocations: 2.725 MB / 368.9 MB, free: 2.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.09333, allocations: 1.418 MB / 370.3 MB, free: 1.516 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000764/0.0941, allocations: 0.844 MB / 371.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.129/0.2231, allocations: 1.112 MB / 372.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000524/0.2236, allocations: 124.2 kB / 372.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000795/0.2244, allocations: 221.3 kB / 372.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006797/0.2251, allocations: 0.5992 MB / 373.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.2266, allocations: 1.093 MB / 374.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.2294, allocations: 2.908 MB / 377.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2294, allocations: 0.5938 kB / 377.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2294, allocations: 1.375 kB / 377.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.286e-05/0.2295, allocations: 0 / 377.2 MB, free: 11.17 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.003904/0.2334, allocations: 2.189 MB / 379.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2335, allocations: 8.438 kB / 379.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006004/0.2341, allocations: 259.6 kB / 379.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.2358, allocations: 1.312 MB / 381 MB, free: 9.535 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.584e-05/0.2359, allocations: 146.3 kB / 381.1 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/0.2362, allocations: 193 kB / 381.3 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/0.2398, allocations: 2.418 MB / 383.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.613e-05/0.2399, allocations: 19.67 kB / 383.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001809/0.24, allocations: 77.62 kB / 383.8 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.29e-05/0.2401, allocations: 87.38 kB / 383.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.2431, allocations: 1.967 MB / 385.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009214/0.2524, allocations: 7.888 MB / 393.7 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.2538, allocations: 1.223 MB / 395 MB, free: 2.836 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/0.2554, allocations: 0.9581 MB / 395.9 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001892/0.2556, allocations: 126.8 kB / 396 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2557, allocations: 45.06 kB / 396.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.225e-06/0.2557, allocations: 2.719 kB / 396.1 MB, free: 2.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=111): time 0.01103/0.2667, allocations: 5.93 MB / 402 MB, free: 14.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2668, allocations: 65.95 kB / 402.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.2683, allocations: 1.298 MB / 403.4 MB, free: 14.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.55e-05/0.2684, allocations: 45.7 kB / 403.4 MB, free: 13.97 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000584/0.269, allocations: 0.9193 MB / 404.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002848/0.2693, allocations: 395.2 kB / 404.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.2695, allocations: 113.7 kB / 404.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2696, allocations: 369.8 kB / 405.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009945/0.2706, allocations: 0.6325 MB / 405.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.2719, allocations: 1.01 MB / 406.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002281/0.2741, allocations: 1.736 MB / 408.6 MB, free: 8.543 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.2742, allocations: 4 kB / 408.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003634/0.2778, allocations: 2.242 MB / 410.8 MB, free: 6.348 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.2778, allocations: 19.97 kB / 410.9 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.2779, allocations: 8 kB / 410.9 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.2791, allocations: 0.4919 MB / 411.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.2802, allocations: 302.3 kB / 411.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006357/0.2865, allocations: 6.544 MB / 418.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/0.2874, allocations: 95.83 kB / 418.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.746e-05/0.2876, allocations: 52 kB / 418.3 MB, free: 14.5 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.0008298/0.2884, allocations: 0.5963 MB / 418.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.2886, allocations: 142.3 kB / 419.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.2921, allocations: 1.977 MB / 421 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.2921, allocations: 14.81 kB / 421.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2921, allocations: 4 kB / 421.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2921, allocations: 3.984 kB / 421.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006349/0.2985, allocations: 4.137 MB / 425.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.2985, allocations: 7.938 kB / 425.2 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008338/0.2993, allocations: 184.1 kB / 425.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.3008, allocations: 0.5458 MB / 425.9 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.896e-05/0.3009, allocations: 27.98 kB / 426 MB, free: 6.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007485/0.3084, allocations: 8.046 MB / 434 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3084, allocations: 7.984 kB / 434 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/0.3127, allocations: 2.865 MB / 436.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005003/0.3132, allocations: 355.2 kB / 437.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.3134, allocations: 27.98 kB / 437.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008092/0.3142, allocations: 75.92 kB / 437.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.3144, allocations: 87.44 kB / 437.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.176e-05/0.3145, allocations: 28 kB / 437.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001144/0.3156, allocations: 0.8917 MB / 438.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3156, allocations: 0 / 438.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001296/0.3169, allocations: 440 kB / 438.8 MB, free: 9.473 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.0003147/0.3173, allocations: 186.4 kB / 439 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.3204, allocations: 2.239 MB / 441.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3204, allocations: 0 / 441.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.3225, allocations: 1.51 MB / 442.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/0.3247, allocations: 402.6 kB / 443.1 MB, free: 5.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006118/0.3309, allocations: 5.183 MB / 448.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.3321, allocations: 1.638 MB / 449.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.3324, allocations: 103.4 kB / 450 MB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3324, allocations: 3.938 kB / 450 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Templates: time 0.06393/0.3964, allocations: 70.37 MB / 0.5082 GB, free: 7.754 MB / 430.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