Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009534/0.0009536, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.665/1.665, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007368/0.0007368, allocations: 93.42 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 19.98 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2711, allocations: 47.57 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.01567/0.2869, allocations: 8.623 MB / 383.2 MB, free: 38.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.297, allocations: 2.957 MB / 386.1 MB, free: 36.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002561/0.2996, allocations: 42.81 kB / 386.2 MB, free: 36.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002871/0.3025, allocations: 0.5369 MB / 386.7 MB, free: 35.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004231/0.3068, allocations: 0.705 MB / 387.4 MB, free: 35.26 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.3083, allocations: 241.1 kB / 387.7 MB, free: 35.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00549/0.3139, allocations: 3.164 MB / 390.8 MB, free: 32.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003661/0.3175, allocations: 1.579 MB / 392.4 MB, free: 30.92 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.3204, allocations: 1.023 MB / 393.4 MB, free: 29.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/0.3239, allocations: 1.389 MB / 394.8 MB, free: 28.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000949/0.3249, allocations: 156 kB / 395 MB, free: 28.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.3267, allocations: 219.9 kB / 395.2 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001969/0.3287, allocations: 0.7593 MB / 395.9 MB, free: 27.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.3303, allocations: 0.5511 MB / 396.5 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005487/0.3358, allocations: 3.771 MB / 400.3 MB, free: 23.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/0.3358, allocations: 7.984 kB / 400.3 MB, free: 23.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3358, allocations: 0 / 400.3 MB, free: 23.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001764/0.336, allocations: 0 / 400.3 MB, free: 23.02 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.009669/0.3457, allocations: 2.761 MB / 403 MB, free: 20.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3458, allocations: 8.031 kB / 403 MB, free: 20.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001708/0.3475, allocations: 324.4 kB / 403.4 MB, free: 19.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005688/0.3532, allocations: 1.569 MB / 404.9 MB, free: 18.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.3535, allocations: 168.6 kB / 405.1 MB, free: 18.08 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001137/0.3547, allocations: 227.9 kB / 405.3 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/0.3659, allocations: 3.188 MB / 408.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001281/0.3661, allocations: 4 kB / 408.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005952/0.3667, allocations: 99.94 kB / 408.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001812/0.3669, allocations: 104.4 kB / 408.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008869/0.3758, allocations: 2.746 MB / 411.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02771/0.4036, allocations: 9.938 MB / 421.4 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/0.4083, allocations: 2.094 MB / 423.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003884/0.4122, allocations: 1.21 MB / 424.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000454/0.4127, allocations: 126.5 kB / 424.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.957e-05/0.4128, allocations: 51.56 kB / 424.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=126): time 7.264e-06/0.4128, allocations: 3.938 kB / 424.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=142): time 0.03662/0.4494, allocations: 8.055 MB / 432.9 MB, free: 5.598 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.4496, allocations: 68.72 kB / 433 MB, free: 5.516 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005132/0.4547, allocations: 1.661 MB / 434.7 MB, free: 3.848 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004041/0.4552, allocations: 53.7 kB / 434.7 MB, free: 3.789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001389/0.4566, allocations: 1.089 MB / 435.8 MB, free: 2.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009181/0.4575, allocations: 489 kB / 436.3 MB, free: 2.199 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.4578, allocations: 28 kB / 436.3 MB, free: 2.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002549/0.4581, allocations: 373.9 kB / 436.7 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002986/0.4611, allocations: 0.9135 MB / 437.6 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/0.4644, allocations: 1.267 MB / 438.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003247/0.4677, allocations: 1.068 MB / 439.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-05/0.4677, allocations: 4 kB / 439.9 MB, free: 14.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.01055/0.4783, allocations: 3.053 MB / 443 MB, free: 11.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.4784, allocations: 8 kB / 443 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.4785, allocations: 12 kB / 443 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004235/0.4827, allocations: 0.8441 MB / 443.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.485, allocations: 315.5 kB / 444.1 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.5049, allocations: 9.081 MB / 453.2 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.5077, allocations: 107.8 kB / 453.3 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004174/0.5081, allocations: 63.98 kB / 453.4 MB, free: 492 kB / 330.7 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 (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 initialization (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(9,33.3%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003153/0.5113, allocations: 0.8106 MB / 454.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/0.5124, allocations: 177.8 kB / 454.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.5229, allocations: 2.858 MB / 457.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.68e-05/0.523, allocations: 15.94 kB / 457.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-05/0.523, allocations: 8 kB / 457.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.5231, allocations: 7.969 kB / 457.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/0.5434, allocations: 5.695 MB / 463 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/0.5435, allocations: 4 kB / 463 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/0.5454, allocations: 191.7 kB / 463.1 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004639/0.55, allocations: 0.8922 MB / 464 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003213/0.5504, allocations: 39.97 kB / 464.1 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02147/0.5719, allocations: 10.57 MB / 474.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/0.5719, allocations: 0 / 474.6 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/0.5849, allocations: 4.175 MB / 478.8 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/0.5867, allocations: 466.7 kB / 479.3 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007239/0.5875, allocations: 28 kB / 479.3 MB, free: 5.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.5895, allocations: 95.91 kB / 479.4 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005756/0.5901, allocations: 153 kB / 479.6 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/0.5903, allocations: 35.98 kB / 479.6 MB, free: 5.504 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003312/0.5936, allocations: 1.142 MB / 480.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.5937, allocations: 0 / 480.7 MB, free: 4.367 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003831/0.5975, allocations: 0.5624 MB / 481.3 MB, free: 3.805 MB / 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: 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 (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006345/0.5982, allocations: 155.1 kB / 481.4 MB, free: 3.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008089/0.6063, allocations: 3.007 MB / 484.4 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.6063, allocations: 4 kB / 484.5 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005329/0.6117, allocations: 2.034 MB / 486.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/0.6171, allocations: 496.9 kB / 487 MB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.635, allocations: 6.116 MB / 493.1 MB, free: 7.785 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003482/0.6386, allocations: 1.989 MB / 495.1 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/0.6399, allocations: 123.4 kB / 495.2 MB, free: 5.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.933e-06/0.6399, allocations: 0 / 495.2 MB, free: 5.641 MB / 378.7 MB Notification: Performance of Templates: time 0.3623/1.002, allocations: 91.8 MB / 0.5732 GB, free: 29.14 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_YD/AIMC_YD.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches