Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aims.ir.1.|aims.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aims.is.1.|aims.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001877/0.001877, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.439/1.439, allocations: 227.7 MB / 247.7 MB, free: 10.29 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 61.47 kB / 307.9 MB, free: 488 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.1004, allocations: 50.54 MB / 358.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0144/0.1149, allocations: 11.85 MB / 370.3 MB, free: 2.004 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1553/0.2702, allocations: 3.827 MB / 374.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.2719, allocations: 70.88 kB / 374.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.274, allocations: 0.8689 MB / 375.1 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002998/0.277, allocations: 1.089 MB / 376.1 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.2782, allocations: 0.4942 MB / 376.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00485/0.283, allocations: 4.218 MB / 380.9 MB, free: 8.457 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00409/0.2872, allocations: 3.295 MB / 384.2 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.2908, allocations: 1.908 MB / 386.1 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004309/0.2951, allocations: 2.338 MB / 388.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.2965, allocations: 0.4983 MB / 388.9 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002142/0.2986, allocations: 0.5948 MB / 389.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001558/0.3002, allocations: 1.392 MB / 390.9 MB, free: 4.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004503/0.3047, allocations: 2.214 MB / 393.1 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006856/0.3116, allocations: 6.509 MB / 399.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.3116, allocations: 0 / 399.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3117, allocations: 0 / 399.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002031/0.3119, allocations: 0 / 399.6 MB, free: 14.72 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01059/0.3225, allocations: 4.322 MB / 403.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3225, allocations: 12.03 kB / 403.9 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.324, allocations: 468 kB / 404.4 MB, free: 11.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/0.328, allocations: 2.339 MB / 406.7 MB, free: 8.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.3282, allocations: 230.2 kB / 407 MB, free: 8.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004784/0.3287, allocations: 311.8 kB / 407.3 MB, free: 8.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007632/0.3364, allocations: 4.374 MB / 411.6 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.575e-05/0.3365, allocations: 3.984 kB / 411.6 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.3368, allocations: 124 kB / 411.8 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/0.3369, allocations: 138 kB / 411.9 MB, free: 3.465 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006736/0.3437, allocations: 3.783 MB / 415.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02326/0.367, allocations: 13.52 MB / 429.2 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.371, allocations: 2.908 MB / 432.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002912/0.374, allocations: 1.687 MB / 433.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.3743, allocations: 122.4 kB / 433.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.3743, allocations: 55.81 kB / 434 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=164): time 3.366e-06/0.3743, allocations: 0 / 434 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=180): time 0.01901/0.3933, allocations: 8.999 MB / 443 MB, free: 3.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.3934, allocations: 73.39 kB / 443 MB, free: 3.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00376/0.3972, allocations: 2.362 MB / 445.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001885/0.3974, allocations: 57.7 kB / 445.5 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.3986, allocations: 1.474 MB / 446.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005764/0.3992, allocations: 0.6056 MB / 447.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006559/0.3999, allocations: 367.3 kB / 447.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4, allocations: 309.1 kB / 448.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.4019, allocations: 1.128 MB / 449.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002164/0.404, allocations: 1.565 MB / 450.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004049/0.4081, allocations: 2.788 MB / 453.7 MB, free: 8.648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.4081, allocations: 4 kB / 453.7 MB, free: 8.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00668/0.4148, allocations: 3.588 MB / 457.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.4148, allocations: 8 kB / 457.3 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.4149, allocations: 16 kB / 457.3 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002114/0.417, allocations: 0.8073 MB / 458.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.4189, allocations: 455.3 kB / 458.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/0.4308, allocations: 11.19 MB / 469.7 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.433, allocations: 131.8 kB / 469.9 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/0.4332, allocations: 68 kB / 469.9 MB, free: 7.648 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 6 (switchedRheostat.booleanStep[3].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * 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): 5 systems {(2,14,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002058/0.4353, allocations: 1.091 MB / 471 MB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.4359, allocations: 249 kB / 471.3 MB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006025/0.4419, allocations: 3.301 MB / 474.6 MB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.442, allocations: 20 kB / 474.6 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.442, allocations: 8.062 kB / 474.6 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.442, allocations: 7.969 kB / 474.6 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/0.4554, allocations: 6.895 MB / 481.5 MB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4554, allocations: 4 kB / 481.5 MB, free: 11.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.4567, allocations: 299.8 kB / 481.8 MB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/0.4592, allocations: 0.9158 MB / 482.7 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001384/0.4594, allocations: 39.98 kB / 482.8 MB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01549/0.4749, allocations: 14.62 MB / 497.4 MB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4749, allocations: 4 kB / 497.4 MB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008953/0.4839, allocations: 4.868 MB / 0.4905 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001872/0.4858, allocations: 0.5682 MB / 0.491 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007326/0.4865, allocations: 32 kB / 0.4911 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00154/0.4881, allocations: 123.9 kB / 0.4912 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004415/0.4886, allocations: 161.7 kB / 0.4913 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.4887, allocations: 47.98 kB / 0.4914 GB, free: 5.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002932/0.4916, allocations: 1.641 MB / 0.493 GB, free: 3.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4916, allocations: 3.938 kB / 0.493 GB, free: 3.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002727/0.4944, allocations: 0.707 MB / 0.4937 GB, free: 2.824 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.inertiaRotor.w,aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 7 systems {(2,14,100.0%), (1,1,100.0%), (2,1,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0004833/0.4949, allocations: 209 kB / 0.4939 GB, free: 2.609 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009342/0.5042, allocations: 4.849 MB / 0.4986 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.5043, allocations: 4 kB / 0.4986 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004152/0.5084, allocations: 2.507 MB / 0.5011 GB, free: 11.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/0.5127, allocations: 0.7238 MB / 0.5018 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/0.5262, allocations: 6.855 MB / 0.5085 GB, free: 3.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002901/0.5291, allocations: 2.483 MB / 0.5109 GB, free: 0.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009689/0.5301, allocations: 175.4 kB / 0.5111 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5301, allocations: 0 / 0.5111 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of Templates: time 0.3132/0.8433, allocations: 168.3 MB / 0.6754 GB, free: 9.898 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches