Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000895/0.0008953, allocations: 104.3 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008015/0.0008016, allocations: 47.94 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1858, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL): time 0.008415/0.1943, allocations: 9.287 MB / 383.1 MB, free: 38.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004528/0.1989, allocations: 2.996 MB / 386.1 MB, free: 36.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005568/0.1994, allocations: 37.81 kB / 386.2 MB, free: 36.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.2005, allocations: 0.5578 MB / 386.7 MB, free: 35.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.2018, allocations: 0.7074 MB / 387.4 MB, free: 35.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004351/0.2022, allocations: 311.3 kB / 387.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001957/0.2042, allocations: 3.145 MB / 390.9 MB, free: 32.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.2054, allocations: 1.564 MB / 392.4 MB, free: 30.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007359/0.2062, allocations: 1.027 MB / 393.5 MB, free: 29.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.2072, allocations: 1.44 MB / 394.9 MB, free: 28.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002281/0.2074, allocations: 188 kB / 395.1 MB, free: 28.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.2079, allocations: 291.8 kB / 395.4 MB, free: 27.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004388/0.2084, allocations: 0.7671 MB / 396.1 MB, free: 27.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007428/0.2091, allocations: 1.271 MB / 397.4 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.2109, allocations: 3.929 MB / 401.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2109, allocations: 4 kB / 401.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.2109, allocations: 0 / 401.3 MB, free: 21.88 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.211, allocations: 0 / 401.3 MB, free: 21.88 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003655/0.2146, allocations: 2.857 MB / 404.2 MB, free: 18.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.2147, allocations: 8.031 kB / 404.2 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.2152, allocations: 293.7 kB / 404.5 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.217, allocations: 1.426 MB / 405.9 MB, free: 17.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.2171, allocations: 152.4 kB / 406.1 MB, free: 17.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002188/0.2173, allocations: 212 kB / 406.3 MB, free: 16.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.2203, allocations: 2.728 MB / 409 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.2204, allocations: 11.98 kB / 409 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.2205, allocations: 79.98 kB / 409.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.2206, allocations: 99.88 kB / 409.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.2234, allocations: 2.326 MB / 411.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008973/0.2324, allocations: 8.403 MB / 419.9 MB, free: 2.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.2339, allocations: 1.785 MB / 421.7 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.2354, allocations: 1.055 MB / 422.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.2356, allocations: 126 kB / 422.9 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2356, allocations: 47.56 kB / 422.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.976e-06/0.2357, allocations: 0 / 422.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=120): time 0.01166/0.2473, allocations: 6.304 MB / 429.2 MB, free: 9.254 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2474, allocations: 68.41 kB / 429.3 MB, free: 9.176 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.2492, allocations: 1.512 MB / 430.8 MB, free: 7.652 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.617e-05/0.2492, allocations: 49.69 kB / 430.9 MB, free: 7.598 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005882/0.2498, allocations: 0.9873 MB / 431.8 MB, free: 6.598 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.2501, allocations: 417.9 kB / 432.2 MB, free: 6.184 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.2505, allocations: 251.4 kB / 432.5 MB, free: 5.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.2506, allocations: 361.9 kB / 432.8 MB, free: 5.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.2517, allocations: 0.7417 MB / 433.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.2529, allocations: 1.052 MB / 434.6 MB, free: 3.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.2552, allocations: 1.875 MB / 436.5 MB, free: 1.637 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.2552, allocations: 0 / 436.5 MB, free: 1.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003379/0.2586, allocations: 2.353 MB / 438.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.2586, allocations: 15.98 kB / 438.9 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2586, allocations: 8 kB / 438.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008577/0.2595, allocations: 407.5 kB / 439.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.2606, allocations: 327.5 kB / 439.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004216/0.2648, allocations: 4.643 MB / 444.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008749/0.2657, allocations: 83.91 kB / 444.3 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/0.2658, allocations: 55.98 kB / 444.4 MB, free: 9.457 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (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 (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009546/0.2668, allocations: 0.712 MB / 445.1 MB, free: 8.734 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002223/0.267, allocations: 162 kB / 445.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003328/0.2703, allocations: 2.137 MB / 447.4 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.2703, allocations: 15.98 kB / 447.4 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2704, allocations: 4 kB / 447.4 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.2704, allocations: 7.922 kB / 447.4 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006656/0.277, allocations: 4.585 MB / 452 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2771, allocations: 3.938 kB / 452 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008603/0.2779, allocations: 224 kB / 452.2 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001094/0.279, allocations: 465.5 kB / 452.7 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.2791, allocations: 35.98 kB / 452.7 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005389/0.2845, allocations: 6.143 MB / 458.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2845, allocations: 8.094 kB / 458.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03097/0.3155, allocations: 23.38 MB / 482.3 MB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007032/0.3162, allocations: 395 kB / 482.6 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/0.3164, allocations: 35.98 kB / 482.7 MB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007473/0.3172, allocations: 71.92 kB / 482.7 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002521/0.3174, allocations: 112.8 kB / 482.9 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.3175, allocations: 39.92 kB / 482.9 MB, free: 1.727 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001314/0.3188, allocations: 1.04 MB / 483.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3188, allocations: 0 / 483.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001657/0.3205, allocations: 0.6486 MB / 484.6 MB, free: 40 kB / 362.7 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: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0003029/0.3208, allocations: 186.6 kB / 484.8 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003115/0.3239, allocations: 2.269 MB / 487 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.324, allocations: 4 kB / 487 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.3259, allocations: 1.485 MB / 488.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.3276, allocations: 415 kB / 488.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008225/0.3359, allocations: 6.812 MB / 495.7 MB, free: 4.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.3373, allocations: 1.883 MB / 497.6 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001187/0.3385, allocations: 413.5 kB / 498 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003714/0.3389, allocations: 119.4 kB / 498.1 MB, free: 2.172 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3389, allocations: 0 / 498.1 MB, free: 2.172 MB / 378.7 MB Notification: Performance of Templates: time 0.1778/0.5167, allocations: 30.53 MB / 0.5163 GB, free: 117 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches