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.0014/0.0014, allocations: 114.9 kB / 17.74 MB, free: 5.293 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.001546/0.001546, allocations: 188.4 kB / 18.67 MB, free: 4.375 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 43.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2426, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMS_Start): time 0.01285/0.2555, allocations: 11.81 MB / 413.2 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007235/0.2628, allocations: 3.743 MB / 417 MB, free: 9.246 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001929/0.2647, allocations: 71.69 kB / 417 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.2672, allocations: 0.9046 MB / 417.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003554/0.2707, allocations: 1.123 MB / 419.1 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.272, allocations: 0.4953 MB / 419.6 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004811/0.2769, allocations: 4.226 MB / 423.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003863/0.2808, allocations: 3.293 MB / 427.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003281/0.2841, allocations: 1.912 MB / 429 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.2877, allocations: 2.328 MB / 431.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00117/0.2889, allocations: 0.5 MB / 431.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.2906, allocations: 0.5818 MB / 432.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002062/0.2927, allocations: 1.395 MB / 433.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003666/0.2964, allocations: 2.209 MB / 436 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006669/0.3031, allocations: 6.552 MB / 442.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3031, allocations: 0 / 442.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3031, allocations: 0 / 442.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.3033, allocations: 0 / 442.6 MB, free: 15.5 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.008534/0.3118, allocations: 4.305 MB / 446.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3119, allocations: 8.031 kB / 446.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.3129, allocations: 440.1 kB / 447.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004044/0.317, allocations: 2.398 MB / 449.7 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.3172, allocations: 226.2 kB / 449.9 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005133/0.3177, allocations: 303.9 kB / 450.2 MB, free: 7.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007142/0.3248, allocations: 4.373 MB / 454.6 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.491e-05/0.3249, allocations: 7.938 kB / 454.6 MB, free: 3.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003041/0.3252, allocations: 132 kB / 454.7 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.3254, allocations: 130 kB / 454.9 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006558/0.3319, allocations: 3.783 MB / 458.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02058/0.3525, allocations: 13.37 MB / 472 MB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/0.356, allocations: 2.915 MB / 474.9 MB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002764/0.3588, allocations: 1.672 MB / 476.6 MB, free: 12.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.3591, allocations: 130.4 kB / 476.7 MB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.3592, allocations: 55.81 kB / 476.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=164): time 4.118e-06/0.3592, allocations: 0 / 476.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=180): time 0.01904/0.3782, allocations: 8.981 MB / 485.8 MB, free: 3.348 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.3783, allocations: 69.41 kB / 485.8 MB, free: 3.266 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/0.3823, allocations: 2.361 MB / 488.2 MB, free: 0.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002724/0.3826, allocations: 53.7 kB / 488.2 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.3837, allocations: 1.477 MB / 489.7 MB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006373/0.3844, allocations: 0.6007 MB / 490.3 MB, free: 14.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007391/0.3851, allocations: 367.3 kB / 490.7 MB, free: 14.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.302e-05/0.3852, allocations: 301.1 kB / 491 MB, free: 14.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.3871, allocations: 1.124 MB / 492.1 MB, free: 12.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002109/0.3892, allocations: 1.567 MB / 493.7 MB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.3932, allocations: 2.784 MB / 496.4 MB, free: 8.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.3932, allocations: 7.938 kB / 496.4 MB, free: 8.219 MB / 414.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.0064/0.3996, allocations: 3.593 MB / 0.4883 GB, free: 4.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.3997, allocations: 20.03 kB / 0.4883 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/0.3997, allocations: 12 kB / 0.4884 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/0.4019, allocations: 0.805 MB / 0.4891 GB, free: 3.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.4039, allocations: 459.3 kB / 0.4896 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.4152, allocations: 11.15 MB / 0.5005 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/0.4173, allocations: 127.8 kB / 0.5006 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003331/0.4176, allocations: 80.06 kB / 0.5007 GB, free: 7.227 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.002377/0.42, allocations: 1.088 MB / 0.5017 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008649/0.4209, allocations: 245 kB / 0.502 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006372/0.4273, allocations: 3.305 MB / 0.5052 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.4273, allocations: 16 kB / 0.5052 GB, free: 2.523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.399e-05/0.4274, allocations: 8 kB / 0.5052 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/0.4274, allocations: 11.95 kB / 0.5052 GB, free: 2.504 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.4401, allocations: 6.855 MB / 0.5119 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.4402, allocations: 4 kB / 0.5119 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001377/0.4415, allocations: 299.8 kB / 0.5122 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002839/0.4444, allocations: 0.9268 MB / 0.5131 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002089/0.4446, allocations: 39.98 kB / 0.5132 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/0.4588, allocations: 14.61 MB / 0.5274 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4589, allocations: 0 / 0.5274 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008266/0.4671, allocations: 4.861 MB / 0.5322 GB, free: 5.719 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/0.4685, allocations: 0.5604 MB / 0.5327 GB, free: 5.137 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006203/0.4692, allocations: 43.92 kB / 0.5328 GB, free: 5.094 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.4709, allocations: 119.9 kB / 0.5329 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004547/0.4713, allocations: 153.7 kB / 0.533 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/0.4715, allocations: 51.98 kB / 0.5331 GB, free: 4.773 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003089/0.4746, allocations: 1.625 MB / 0.5347 GB, free: 3.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4746, allocations: 0 / 0.5347 GB, free: 3.133 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003041/0.4777, allocations: 0.707 MB / 0.5353 GB, free: 2.426 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.0006086/0.4783, allocations: 220.8 kB / 0.5356 GB, free: 2.203 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1878/0.6661, allocations: 3.579 MB / 0.5391 GB, free: 131.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.6661, allocations: 0.6875 kB / 0.5391 GB, free: 131.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003716/0.6698, allocations: 2.503 MB / 0.5415 GB, free: 130.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002998/0.6728, allocations: 0.7172 MB / 0.5422 GB, free: 130.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008471/0.6813, allocations: 6.758 MB / 0.5488 GB, free: 127.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/0.6829, allocations: 2.475 MB / 0.5512 GB, free: 126.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006716/0.6836, allocations: 172.3 kB / 0.5514 GB, free: 126.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6836, allocations: 0 / 0.5514 GB, free: 126.2 MB / 462.1 MB Notification: Performance of Templates: time 0.1226/0.8062, allocations: 167.9 MB / 0.7153 GB, free: 8.227 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