Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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.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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007647/0.0007648, allocations: 97.28 kB / 18.01 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.0009256/0.0009258, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.7 MB / 247.5 MB, free: 11.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000234/0.0002339, allocations: 4.281 kB / 308.4 MB, free: 0.7969 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1088, allocations: 51.52 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.0135/0.1223, allocations: 11.18 MB / 371.1 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2271/0.3494, allocations: 3.75 MB / 374.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.3524, allocations: 63.69 kB / 374.9 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003717/0.3562, allocations: 0.7619 MB / 375.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005709/0.3619, allocations: 0.9983 MB / 376.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.3641, allocations: 445.7 kB / 377.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008463/0.3726, allocations: 4.885 MB / 382 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005259/0.3779, allocations: 2.72 MB / 384.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003918/0.3818, allocations: 1.438 MB / 386.1 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004973/0.3868, allocations: 1.995 MB / 388.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.3884, allocations: 210.6 kB / 388.4 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.3913, allocations: 317.7 kB / 388.7 MB, free: 6.121 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002328/0.3936, allocations: 1.045 MB / 389.7 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005059/0.3987, allocations: 1.858 MB / 391.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006288/0.405, allocations: 5.298 MB / 396.9 MB, free: 0.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.4051, allocations: 0 / 396.9 MB, free: 0.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4051, allocations: 0 / 396.9 MB, free: 0.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002341/0.4053, allocations: 1.281 kB / 396.9 MB, free: 0.832 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009999/0.4153, allocations: 3.661 MB / 400.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4154, allocations: 12.06 kB / 400.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001971/0.4174, allocations: 478.3 kB / 401 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00532/0.4227, allocations: 2.346 MB / 403.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.423, allocations: 237.4 kB / 403.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009446/0.4239, allocations: 307.8 kB / 403.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009288/0.4332, allocations: 4.377 MB / 408.3 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.241e-05/0.4333, allocations: 8 kB / 408.3 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003527/0.4337, allocations: 130.6 kB / 408.4 MB, free: 7.391 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.4338, allocations: 134 kB / 408.5 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00714/0.441, allocations: 3.794 MB / 412.3 MB, free: 3.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.4665, allocations: 13.61 MB / 425.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/0.471, allocations: 2.91 MB / 428.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003228/0.4743, allocations: 1.687 MB / 430.5 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.4746, allocations: 133.8 kB / 430.7 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.4747, allocations: 51.88 kB / 430.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.797e-06/0.4747, allocations: 3.938 kB / 430.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02103/0.4958, allocations: 9.089 MB / 439.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.4959, allocations: 77.34 kB / 439.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/0.5006, allocations: 2.366 MB / 442.2 MB, free: 4.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003968/0.501, allocations: 53.7 kB / 442.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001321/0.5024, allocations: 1.486 MB / 443.8 MB, free: 3.324 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008193/0.5032, allocations: 0.6013 MB / 444.4 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004233/0.5036, allocations: 169.6 kB / 444.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5038, allocations: 305.1 kB / 444.8 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002182/0.5059, allocations: 1.132 MB / 446 MB, free: 1.121 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.5084, allocations: 1.58 MB / 447.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004521/0.5129, allocations: 2.806 MB / 450.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.781e-05/0.513, allocations: 4 kB / 450.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007986/0.5209, allocations: 3.608 MB / 454 MB, free: 8.746 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.521, allocations: 12 kB / 454 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-05/0.5211, allocations: 12 kB / 454 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/0.5233, allocations: 0.8069 MB / 454.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001954/0.5253, allocations: 459.3 kB / 455.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/0.5362, allocations: 10.3 MB / 465.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.5386, allocations: 131.8 kB / 465.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003789/0.539, allocations: 79.98 kB / 465.8 MB, free: 12.27 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.00253/0.5416, allocations: 1.093 MB / 466.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008042/0.5424, allocations: 253 kB / 467.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006707/0.5491, allocations: 3.317 MB / 470.4 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.5491, allocations: 23.92 kB / 470.4 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-05/0.5492, allocations: 8 kB / 470.5 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.5492, allocations: 7.969 kB / 470.5 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/0.5633, allocations: 6.907 MB / 477.4 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.5633, allocations: 0 / 477.4 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.5647, allocations: 303.8 kB / 477.7 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/0.5673, allocations: 0.9197 MB / 478.6 MB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/0.5676, allocations: 43.97 kB / 478.6 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01343/0.581, allocations: 13.48 MB / 492.1 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.581, allocations: 4.031 kB / 492.1 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008596/0.5896, allocations: 4.885 MB / 497 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/0.5914, allocations: 0.5721 MB / 497.6 MB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008489/0.5922, allocations: 47.88 kB / 497.6 MB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002009/0.5943, allocations: 135.9 kB / 497.7 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/0.5947, allocations: 145.8 kB / 497.9 MB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.5949, allocations: 47.98 kB / 497.9 MB, free: 10.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003444/0.5984, allocations: 1.637 MB / 499.6 MB, free: 9.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5984, allocations: 0 / 499.6 MB, free: 9.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003375/0.6018, allocations: 0.707 MB / 0.4886 GB, free: 8.574 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.0005444/0.6023, allocations: 211 kB / 0.4888 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005752/0.6081, allocations: 3.605 MB / 0.4923 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.6081, allocations: 0 / 0.4923 GB, free: 4.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003788/0.6119, allocations: 2.512 MB / 0.4947 GB, free: 2.023 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00464/0.6166, allocations: 0.6855 MB / 0.4954 GB, free: 1.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/0.6299, allocations: 8.337 MB / 0.5035 GB, free: 8.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002861/0.6328, allocations: 2.49 MB / 0.506 GB, free: 6.453 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/0.6337, allocations: 163.4 kB / 0.5061 GB, free: 6.293 MB / 430.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6337, allocations: 0 / 0.5061 GB, free: 6.293 MB / 430.1 MB Notification: Performance of Templates: time 0.3052/0.9389, allocations: 167.8 MB / 0.67 GB, free: 12.71 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMS_Start/IMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches