Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aims.i_0_r|aimc.ir.1.|aimc.ir.2.|aims.idq_rr.1.|aims.idq_rr.2.|aimc.is.1.|aimc.is.2.|aims.idq_sr.1.|aims.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001786/0.001786, allocations: 186.9 kB / 19.28 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.1 MB / 225.1 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001559, allocations: 52.39 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.144, allocations: 46.64 MB / 328.7 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start): time 0.01624/0.1603, allocations: 11.75 MB / 340.5 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1709, allocations: 3.802 MB / 344.3 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002991/0.1739, allocations: 67.69 kB / 344.4 MB, free: 4.031 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004058/0.178, allocations: 0.8577 MB / 345.2 MB, free: 3.168 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005396/0.1835, allocations: 1.084 MB / 346.3 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.1858, allocations: 0.4915 MB / 346.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008453/0.1942, allocations: 4.265 MB / 351.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006769/0.2011, allocations: 3.213 MB / 354.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005023/0.2062, allocations: 1.896 MB / 356.2 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005683/0.2119, allocations: 2.324 MB / 358.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002285/0.2142, allocations: 0.4961 MB / 359 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.2177, allocations: 0.5897 MB / 359.6 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003472/0.2212, allocations: 1.395 MB / 361 MB, free: 3.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005963/0.2272, allocations: 2.205 MB / 363.2 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.2373, allocations: 6.547 MB / 369.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.2374, allocations: 0 / 369.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.2374, allocations: 4 kB / 369.7 MB, free: 10.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002223/0.2376, allocations: 0 / 369.7 MB, free: 10.52 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.01315/0.2508, allocations: 4.294 MB / 374 MB, free: 6.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.2509, allocations: 12.03 kB / 374 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.2522, allocations: 440 kB / 374.5 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005331/0.2575, allocations: 2.239 MB / 376.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/0.2577, allocations: 238.1 kB / 376.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006267/0.2584, allocations: 307.9 kB / 377.2 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2524/0.5108, allocations: 4.364 MB / 381.6 MB, free: 48.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.511, allocations: 5.875 kB / 381.6 MB, free: 48.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.5115, allocations: 128.8 kB / 381.7 MB, free: 48.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000254/0.5117, allocations: 132.1 kB / 381.9 MB, free: 48.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009825/0.5216, allocations: 3.776 MB / 385.6 MB, free: 47.4 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02706/0.5487, allocations: 13.39 MB / 399 MB, free: 39.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002959/0.5517, allocations: 2.894 MB / 401.9 MB, free: 37.06 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002358/0.5541, allocations: 1.695 MB / 403.6 MB, free: 36.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002922/0.5544, allocations: 119.9 kB / 403.7 MB, free: 36.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.5544, allocations: 52.48 kB / 403.8 MB, free: 36.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=164): time 4.389e-06/0.5544, allocations: 0 / 403.8 MB, free: 36.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=180): time 0.01678/0.5712, allocations: 9.209 MB / 413 MB, free: 28.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.5713, allocations: 73.34 kB / 413.1 MB, free: 28.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/0.5748, allocations: 2.357 MB / 415.4 MB, free: 26.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001674/0.575, allocations: 57.7 kB / 415.5 MB, free: 25.96 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008886/0.5759, allocations: 1.465 MB / 416.9 MB, free: 24.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.5763, allocations: 0.6038 MB / 417.5 MB, free: 23.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005674/0.5769, allocations: 367.3 kB / 417.9 MB, free: 23.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.561e-05/0.577, allocations: 305.1 kB / 418.2 MB, free: 23.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.5784, allocations: 1.131 MB / 419.3 MB, free: 22.09 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.5801, allocations: 1.567 MB / 420.9 MB, free: 20.36 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003054/0.5831, allocations: 2.791 MB / 423.7 MB, free: 17.39 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.5831, allocations: 4 kB / 423.7 MB, free: 17.39 MB / 318.1 MB Notification: Performance of matching and sorting (n=253) (initialization): time 0.005481/0.5886, allocations: 3.588 MB / 427.3 MB, free: 13.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.5887, allocations: 9.484 kB / 427.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.5887, allocations: 12 kB / 427.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.5906, allocations: 0.8067 MB / 428.1 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/0.5922, allocations: 459.3 kB / 428.6 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008629/0.6008, allocations: 11.17 MB / 439.7 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002532/0.6034, allocations: 131.7 kB / 439.9 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002156/0.6036, allocations: 75.98 kB / 439.9 MB, free: 420 kB / 318.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.002433/0.606, allocations: 1.088 MB / 441 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007045/0.6068, allocations: 245 kB / 441.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00573/0.6125, allocations: 3.301 MB / 444.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/0.6125, allocations: 20 kB / 444.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.6126, allocations: 4 kB / 444.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.6126, allocations: 7.969 kB / 444.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.6251, allocations: 6.854 MB / 451.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.876e-06/0.6251, allocations: 0 / 451.4 MB, free: 4.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.6264, allocations: 295.8 kB / 451.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002385/0.6288, allocations: 0.9321 MB / 452.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.629, allocations: 39.98 kB / 452.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01427/0.6433, allocations: 14.59 MB / 467.3 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.6433, allocations: 7.969 kB / 467.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00827/0.6516, allocations: 4.859 MB / 472.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002134/0.6538, allocations: 0.576 MB / 472.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/0.6542, allocations: 36 kB / 472.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.6555, allocations: 123.8 kB / 472.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004723/0.656, allocations: 157.7 kB / 473 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.6561, allocations: 47.98 kB / 473.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00295/0.6591, allocations: 1.629 MB / 474.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6591, allocations: 0 / 474.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002899/0.662, allocations: 0.7101 MB / 475.4 MB, free: 11.68 MB / 366.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.0005041/0.6625, allocations: 199 kB / 475.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005997/0.6686, allocations: 3.593 MB / 479.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/0.6686, allocations: 0 / 479.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004573/0.6732, allocations: 2.511 MB / 481.7 MB, free: 5.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/0.6775, allocations: 0.7206 MB / 482.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.6911, allocations: 6.739 MB / 489.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/0.6939, allocations: 2.521 MB / 491.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002291/0.6962, allocations: 0.5866 MB / 492.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005783/0.6968, allocations: 159.4 kB / 492.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of SimCode: time 3.066e-06/0.6969, allocations: 0 / 492.5 MB, free: 10.38 MB / 382.1 MB Notification: Performance of Templates: time 0.08694/0.7838, allocations: 39.83 MB / 0.5198 GB, free: 2.539 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMS_Start/AIMS_Start.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches