Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, 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.001554/0.001554, 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.67/1.67, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001706/0.001706, allocations: 51.92 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1238, allocations: 46.63 MB / 328.7 MB, free: 3.742 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01173/0.1355, allocations: 9.75 MB / 338.5 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008015/0.1436, allocations: 3.144 MB / 341.6 MB, free: 6.781 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.1453, allocations: 43.81 kB / 341.7 MB, free: 6.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.147, allocations: 0.6637 MB / 342.3 MB, free: 6.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.1494, allocations: 0.8154 MB / 343.1 MB, free: 5.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008894/0.1503, allocations: 391.5 kB / 343.5 MB, free: 4.867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003298/0.1536, allocations: 3.105 MB / 346.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.1562, allocations: 2.389 MB / 349 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001824/0.1581, allocations: 1.371 MB / 350.4 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/0.16, allocations: 1.681 MB / 352.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004078/0.1604, allocations: 364 kB / 352.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007281/0.1611, allocations: 459.8 kB / 352.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008822/0.162, allocations: 0.9973 MB / 353.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001658/0.1637, allocations: 1.602 MB / 355.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004459/0.1682, allocations: 4.708 MB / 360.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1682, allocations: 0 / 360.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1682, allocations: 3.938 kB / 360.2 MB, free: 4.094 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.883e-05/0.1683, allocations: 0 / 360.2 MB, free: 4.094 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.006386/0.1747, allocations: 3.213 MB / 363.4 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.1747, allocations: 8.031 kB / 363.4 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007632/0.1755, allocations: 317.4 kB / 363.7 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.1785, allocations: 1.65 MB / 365.4 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001283/0.1786, allocations: 168.9 kB / 365.5 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003367/0.1789, allocations: 235.8 kB / 365.8 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004961/0.1839, allocations: 3.184 MB / 369 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.158e-05/0.184, allocations: 8 kB / 369 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.1842, allocations: 92 kB / 369 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.1844, allocations: 104.4 kB / 369.2 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004482/0.1888, allocations: 2.742 MB / 371.9 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2681/0.4569, allocations: 9.76 MB / 381.7 MB, free: 47.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.4607, allocations: 2.095 MB / 383.7 MB, free: 47.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.463, allocations: 1.2 MB / 384.9 MB, free: 47.26 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003387/0.4633, allocations: 121.5 kB / 385.1 MB, free: 47.17 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.4634, allocations: 48.7 kB / 385.1 MB, free: 47.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=126): time 4.528e-06/0.4634, allocations: 0 / 385.1 MB, free: 47.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=142): time 0.02747/0.4909, allocations: 8.002 MB / 393.1 MB, free: 44.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.491, allocations: 69.39 kB / 393.2 MB, free: 44.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004616/0.4957, allocations: 1.676 MB / 394.9 MB, free: 43.64 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.496, allocations: 51.33 kB / 394.9 MB, free: 43.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001106/0.4971, allocations: 1.092 MB / 396 MB, free: 42.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005685/0.4977, allocations: 480.7 kB / 396.5 MB, free: 42.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000723/0.4984, allocations: 297.9 kB / 396.8 MB, free: 42.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.4985, allocations: 305.1 kB / 397.1 MB, free: 41.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001997/0.5005, allocations: 0.905 MB / 398 MB, free: 41.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.5027, allocations: 1.272 MB / 399.2 MB, free: 40.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.507, allocations: 2.244 MB / 401.5 MB, free: 39.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/0.5071, allocations: 5.719 kB / 401.5 MB, free: 39.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007541/0.5146, allocations: 3.039 MB / 404.5 MB, free: 37.54 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.869e-05/0.5147, allocations: 8.219 kB / 404.5 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/0.5148, allocations: 8 kB / 404.5 MB, free: 37.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002742/0.5175, allocations: 0.8387 MB / 405.4 MB, free: 36.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.5192, allocations: 311.5 kB / 405.7 MB, free: 36.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01377/0.533, allocations: 9.92 MB / 415.6 MB, free: 26.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/0.5358, allocations: 99.81 kB / 415.7 MB, free: 25.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.5361, allocations: 56 kB / 415.8 MB, free: 25.9 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (9,19,33.3%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002074/0.5382, allocations: 0.8198 MB / 416.6 MB, free: 25.08 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006972/0.5389, allocations: 181.8 kB / 416.8 MB, free: 24.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006471/0.5454, allocations: 2.834 MB / 419.6 MB, free: 22.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.5455, allocations: 19.61 kB / 419.6 MB, free: 22.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-05/0.5455, allocations: 8 kB / 419.6 MB, free: 22.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.5455, allocations: 3.984 kB / 419.6 MB, free: 22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.5589, allocations: 5.668 MB / 425.3 MB, free: 16.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.559, allocations: 6.75 kB / 425.3 MB, free: 16.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.5602, allocations: 200 kB / 425.5 MB, free: 16.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002897/0.5631, allocations: 0.8848 MB / 426.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.5633, allocations: 35.98 kB / 426.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01611/0.5794, allocations: 11.52 MB / 437.9 MB, free: 3.086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.5795, allocations: 7.984 kB / 437.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009462/0.589, allocations: 4.146 MB / 442.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002193/0.5912, allocations: 462.7 kB / 442.5 MB, free: 14.4 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005204/0.5918, allocations: 41.19 kB / 442.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00143/0.5932, allocations: 75.91 kB / 442.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007982/0.5941, allocations: 141 kB / 442.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/0.5943, allocations: 47.98 kB / 442.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.002938/0.5972, allocations: 1.153 MB / 444 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5973, allocations: 0 / 444 MB, free: 12.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004483/0.6018, allocations: 0.5589 MB / 444.5 MB, free: 12.39 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (9,19,33.3%), (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.0005856/0.6024, allocations: 195 kB / 444.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.007251/0.6096, allocations: 2.994 MB / 447.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.6097, allocations: 2.078 kB / 447.7 MB, free: 9.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004411/0.6141, allocations: 2.033 MB / 449.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003514/0.6176, allocations: 0.5119 MB / 450.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/0.6306, allocations: 5.148 MB / 455.4 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002851/0.6335, allocations: 2.016 MB / 457.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002083/0.6357, allocations: 407.3 kB / 457.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004658/0.6361, allocations: 115.4 kB / 457.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.124e-06/0.6362, allocations: 0 / 457.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of Templates: time 0.06747/0.7036, allocations: 32.71 MB / 490.7 MB, free: 14.03 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches