Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.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.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.0.0_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.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001543/0.001543, allocations: 176.5 kB / 18.66 MB, free: 4.449 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 51.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2574, allocations: 49.44 MB / 401.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01291/0.2704, allocations: 11.82 MB / 413.2 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.2775, allocations: 3.739 MB / 417 MB, free: 9.422 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.2795, allocations: 71.69 kB / 417 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.2824, allocations: 0.8694 MB / 417.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003496/0.2859, allocations: 1.072 MB / 419 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001433/0.2873, allocations: 499.3 kB / 419.5 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005347/0.2927, allocations: 4.226 MB / 423.7 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004192/0.2969, allocations: 3.293 MB / 427 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00261/0.2995, allocations: 1.908 MB / 428.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.303, allocations: 2.331 MB / 431.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001042/0.3041, allocations: 0.496 MB / 431.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001493/0.3056, allocations: 0.5819 MB / 432.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001536/0.3072, allocations: 1.399 MB / 433.7 MB, free: 8.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002573/0.3097, allocations: 2.201 MB / 435.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005925/0.3157, allocations: 6.547 MB / 442.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.3157, allocations: 4 kB / 442.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3157, allocations: 0 / 442.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001237/0.3159, allocations: 0 / 442.5 MB, free: 15.78 MB / 366.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.008496/0.3244, allocations: 4.302 MB / 446.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3244, allocations: 11.97 kB / 446.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.3255, allocations: 436.1 kB / 447.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004243/0.3298, allocations: 2.402 MB / 449.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001708/0.3299, allocations: 230.2 kB / 449.8 MB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004579/0.3304, allocations: 307.9 kB / 450.1 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007282/0.3377, allocations: 4.369 MB / 454.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.022e-05/0.3378, allocations: 4 kB / 454.5 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002993/0.3381, allocations: 132 kB / 454.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/0.3382, allocations: 134 kB / 454.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006254/0.3445, allocations: 3.771 MB / 458.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02282/0.3674, allocations: 13.37 MB / 471.9 MB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003488/0.3709, allocations: 2.904 MB / 474.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002772/0.3737, allocations: 1.684 MB / 476.5 MB, free: 13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.374, allocations: 134.4 kB / 476.6 MB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.467e-05/0.374, allocations: 55.81 kB / 476.7 MB, free: 12.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 3.777e-06/0.374, allocations: 0 / 476.7 MB, free: 12.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01836/0.3924, allocations: 8.977 MB / 485.7 MB, free: 3.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.743e-05/0.3925, allocations: 69.41 kB / 485.7 MB, free: 3.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/0.3961, allocations: 2.361 MB / 488.1 MB, free: 1.152 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003741/0.3965, allocations: 57.64 kB / 488.1 MB, free: 1.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.3976, allocations: 1.466 MB / 489.6 MB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000629/0.3982, allocations: 0.6046 MB / 490.2 MB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000594/0.3988, allocations: 371.3 kB / 490.6 MB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.3989, allocations: 301.1 kB / 490.9 MB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/0.4007, allocations: 1.124 MB / 492 MB, free: 13.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.4027, allocations: 1.571 MB / 493.6 MB, free: 11.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.4065, allocations: 2.78 MB / 496.3 MB, free: 8.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.4065, allocations: 4 kB / 496.3 MB, free: 8.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.00616/0.4127, allocations: 3.596 MB / 499.9 MB, free: 4.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.4128, allocations: 19.88 kB / 500 MB, free: 4.848 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.4128, allocations: 12 kB / 500 MB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/0.4148, allocations: 0.8025 MB / 0.489 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.4167, allocations: 463.3 kB / 0.4895 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01122/0.4279, allocations: 11.16 MB / 0.5004 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.43, allocations: 127.8 kB / 0.5005 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.4302, allocations: 79.98 kB / 0.5006 GB, free: 7.492 MB / 430.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.001885/0.4321, allocations: 1.091 MB / 0.5016 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005137/0.4326, allocations: 245 kB / 0.5019 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005595/0.4382, allocations: 3.301 MB / 0.5051 GB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.4383, allocations: 16 kB / 0.5051 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/0.4383, allocations: 8 kB / 0.5051 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.016e-05/0.4383, allocations: 7.969 kB / 0.5051 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.4496, allocations: 6.851 MB / 0.5118 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.4497, allocations: 7.984 kB / 0.5118 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/0.451, allocations: 295.6 kB / 0.5121 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002337/0.4533, allocations: 0.9238 MB / 0.513 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.4535, allocations: 39.98 kB / 0.5131 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.4668, allocations: 14.61 MB / 0.5273 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4669, allocations: 0 / 0.5273 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007977/0.4749, allocations: 4.857 MB / 0.5321 GB, free: 6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.4762, allocations: 0.5682 MB / 0.5326 GB, free: 5.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003829/0.4766, allocations: 43.92 kB / 0.5327 GB, free: 5.367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.4779, allocations: 119.9 kB / 0.5328 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000393/0.4783, allocations: 149.7 kB / 0.5329 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.4784, allocations: 55.98 kB / 0.533 GB, free: 5.047 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002513/0.481, allocations: 1.629 MB / 0.5346 GB, free: 3.402 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.481, allocations: 0 / 0.5346 GB, free: 3.402 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002243/0.4832, allocations: 0.707 MB / 0.5353 GB, free: 2.695 MB / 462.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.0004375/0.4837, allocations: 216.8 kB / 0.5355 GB, free: 2.477 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1902/0.6739, allocations: 3.579 MB / 0.539 GB, free: 131.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.674, allocations: 1.125 kB / 0.539 GB, free: 131.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00388/0.6779, allocations: 2.508 MB / 0.5414 GB, free: 130.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/0.6811, allocations: 0.7211 MB / 0.5421 GB, free: 130.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008757/0.6899, allocations: 6.751 MB / 0.5487 GB, free: 127.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/0.6916, allocations: 2.469 MB / 0.5511 GB, free: 126.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/0.6923, allocations: 169.2 kB / 0.5513 GB, free: 126.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6923, allocations: 0 / 0.5513 GB, free: 126.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1317/0.824, allocations: 167.9 MB / 0.7152 GB, free: 8.539 MB / 0.4981 GB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches