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.001253/0.001253, allocations: 111.1 kB / 17.68 MB, free: 5.355 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.001227/0.001227, allocations: 192 kB / 18.62 MB, free: 4.434 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.447/1.447, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 51.27 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1154, allocations: 49.44 MB / 351.5 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01398/0.1294, allocations: 11.8 MB / 363.3 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008162/0.1376, allocations: 3.743 MB / 367 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002778/0.1404, allocations: 75.69 kB / 367.1 MB, free: 4.004 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.1437, allocations: 0.8655 MB / 368 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006054/0.1498, allocations: 1.072 MB / 369.1 MB, free: 2.055 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.152, allocations: 499.3 kB / 369.5 MB, free: 1.566 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2138/0.3658, allocations: 4.222 MB / 373.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005158/0.3711, allocations: 3.297 MB / 377.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.3754, allocations: 1.903 MB / 379 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005929/0.3813, allocations: 2.326 MB / 381.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002523/0.3839, allocations: 0.4981 MB / 381.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/0.3876, allocations: 0.5864 MB / 382.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00336/0.391, allocations: 1.393 MB / 383.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006798/0.3978, allocations: 2.212 MB / 386 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009043/0.4069, allocations: 6.542 MB / 392.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.4069, allocations: 0 / 392.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.407, allocations: 0 / 392.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002129/0.4072, allocations: 1.375 kB / 392.5 MB, free: 5.258 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.01127/0.4185, allocations: 4.3 MB / 396.8 MB, free: 2.395 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.4185, allocations: 13.11 kB / 396.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.42, allocations: 439.4 kB / 397.3 MB, free: 2.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.4251, allocations: 2.394 MB / 399.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.4253, allocations: 230.5 kB / 399.9 MB, free: 0.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007548/0.4261, allocations: 312.1 kB / 400.2 MB, free: 444 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008238/0.4343, allocations: 4.369 MB / 404.6 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.284e-05/0.4344, allocations: 8 kB / 404.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000337/0.4348, allocations: 131.8 kB / 404.7 MB, free: 11.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.4349, allocations: 129.9 kB / 404.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007462/0.4424, allocations: 3.78 MB / 408.6 MB, free: 8.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02785/0.4703, allocations: 13.37 MB / 422 MB, free: 10.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/0.474, allocations: 2.894 MB / 424.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002821/0.4769, allocations: 1.68 MB / 426.6 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.4772, allocations: 133.7 kB / 426.7 MB, free: 5.711 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.4772, allocations: 51.88 kB / 426.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=164): time 3.136e-06/0.4772, allocations: 0 / 426.7 MB, free: 5.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=180): time 0.02018/0.4974, allocations: 8.99 MB / 435.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.4975, allocations: 69.41 kB / 435.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004527/0.5021, allocations: 2.357 MB / 438.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003873/0.5025, allocations: 57.7 kB / 438.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.5036, allocations: 1.468 MB / 439.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009489/0.5046, allocations: 0.6049 MB / 440.3 MB, free: 7.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000938/0.5055, allocations: 371.3 kB / 440.6 MB, free: 7.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5057, allocations: 305.1 kB / 440.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.5078, allocations: 1.124 MB / 442.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.5102, allocations: 1.573 MB / 443.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004252/0.5144, allocations: 2.785 MB / 446.4 MB, free: 1.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.853e-05/0.5145, allocations: 4 kB / 446.4 MB, free: 1.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.007818/0.5223, allocations: 3.594 MB / 450 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/0.5224, allocations: 8 kB / 450 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.861e-05/0.5224, allocations: 12 kB / 450 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/0.5256, allocations: 0.806 MB / 450.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003101/0.5288, allocations: 463.6 kB / 451.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01808/0.5469, allocations: 11.15 MB / 462.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/0.5506, allocations: 127.8 kB / 462.6 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000678/0.5513, allocations: 79.55 kB / 462.7 MB, free: 0.6484 MB / 366.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.004772/0.5561, allocations: 1.094 MB / 463.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/0.5578, allocations: 241.1 kB / 464 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.57, allocations: 3.302 MB / 467.3 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.134e-05/0.5701, allocations: 20 kB / 467.3 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.944e-05/0.5701, allocations: 4 kB / 467.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.937e-05/0.5702, allocations: 7.969 kB / 467.3 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02608/0.5963, allocations: 6.852 MB / 474.2 MB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.5964, allocations: 4 kB / 474.2 MB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/0.5993, allocations: 297.7 kB / 474.5 MB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005294/0.6046, allocations: 0.932 MB / 475.4 MB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00042/0.605, allocations: 39.98 kB / 475.4 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02587/0.6309, allocations: 14.61 MB / 490 MB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.631, allocations: 4.031 kB / 490 MB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/0.6467, allocations: 4.858 MB / 494.9 MB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002934/0.6496, allocations: 0.5682 MB / 495.5 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/0.6508, allocations: 35.98 kB / 495.5 MB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00317/0.654, allocations: 123.9 kB / 495.6 MB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000814/0.6548, allocations: 157.6 kB / 495.8 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000331/0.6552, allocations: 51.98 kB / 495.8 MB, free: 14.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.005424/0.6606, allocations: 1.629 MB / 497.5 MB, free: 12.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.6607, allocations: 0 / 497.5 MB, free: 12.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00663/0.6673, allocations: 0.6992 MB / 498.2 MB, free: 12.09 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.0007491/0.6681, allocations: 224.8 kB / 498.4 MB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006266/0.6744, allocations: 3.597 MB / 0.4902 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6744, allocations: 0 / 0.4902 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003869/0.6783, allocations: 2.504 MB / 0.4927 GB, free: 5.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/0.6823, allocations: 0.7145 MB / 0.4934 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.7009, allocations: 6.741 MB / 0.4999 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005411/0.7064, allocations: 2.525 MB / 0.5024 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003916/0.7103, allocations: 0.5827 MB / 0.503 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/0.7116, allocations: 159.4 kB / 0.5031 GB, free: 10.76 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/0.7116, allocations: 0 / 0.5031 GB, free: 10.76 MB / 430.1 MB Notification: Performance of Templates: time 0.2634/0.9751, allocations: 39.81 MB / 0.542 GB, free: 148.2 MB / 446.1 MB 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 -s cvode -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