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.001099/0.001099, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001043/0.001043, allocations: 190.1 kB / 19.34 MB, free: 3.777 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.3/1.3, 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.001167/0.001167, allocations: 52.34 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0737/0.07487, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD): time 0.1603/0.2352, allocations: 9.753 MB / 385.6 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005676/0.2409, allocations: 3.142 MB / 388.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.2425, allocations: 46.78 kB / 388.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.2444, allocations: 0.6746 MB / 389.5 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.2467, allocations: 0.8155 MB / 390.3 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007906/0.2475, allocations: 390.9 kB / 390.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002757/0.2503, allocations: 3.099 MB / 393.7 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.2525, allocations: 2.39 MB / 396.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.2541, allocations: 1.367 MB / 397.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.256, allocations: 1.686 MB / 399.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004428/0.2565, allocations: 362.5 kB / 399.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007867/0.2572, allocations: 449.3 kB / 400 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008046/0.2581, allocations: 1.004 MB / 401 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001473/0.2595, allocations: 1.601 MB / 402.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003995/0.2635, allocations: 4.706 MB / 407.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2636, allocations: 1.312 kB / 407.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2636, allocations: 0 / 407.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.467e-05/0.2636, allocations: 0 / 407.3 MB, free: 12.73 MB / 334.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.005668/0.2693, allocations: 3.226 MB / 410.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.2693, allocations: 9.188 kB / 410.5 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007389/0.2701, allocations: 316.4 kB / 410.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/0.2726, allocations: 1.642 MB / 412.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.2727, allocations: 171 kB / 412.7 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/0.273, allocations: 227.7 kB / 412.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004876/0.2779, allocations: 3.182 MB / 416.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/0.278, allocations: 16.66 kB / 416.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.2782, allocations: 100.3 kB / 416.2 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.2783, allocations: 103.8 kB / 416.3 MB, free: 6.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/0.2827, allocations: 2.742 MB / 419 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01342/0.2961, allocations: 9.766 MB / 428.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.2988, allocations: 2.09 MB / 430.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/0.3007, allocations: 1.206 MB / 432.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/0.301, allocations: 122.9 kB / 432.2 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.301, allocations: 55.5 kB / 432.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=126): time 3.647e-06/0.301, allocations: 0 / 432.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=142): time 0.01762/0.3187, allocations: 7.993 MB / 440.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.3187, allocations: 68.72 kB / 440.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/0.3213, allocations: 1.672 MB / 442 MB, free: 12.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.3214, allocations: 53.7 kB / 442 MB, free: 12.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000767/0.3222, allocations: 1.089 MB / 443.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003712/0.3226, allocations: 492.9 kB / 443.6 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004937/0.3231, allocations: 287.4 kB / 443.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.3232, allocations: 305.1 kB / 444.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.3247, allocations: 0.9057 MB / 445.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.3263, allocations: 1.263 MB / 446.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.3295, allocations: 2.25 MB / 448.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.3295, allocations: 4 kB / 448.6 MB, free: 5.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005105/0.3346, allocations: 3.052 MB / 451.7 MB, free: 2.629 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3346, allocations: 8 kB / 451.7 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.3347, allocations: 12 kB / 451.7 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001973/0.3366, allocations: 0.8443 MB / 452.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.3378, allocations: 307.5 kB / 452.8 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/0.349, allocations: 9.914 MB / 462.7 MB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.3503, allocations: 99.91 kB / 462.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.3505, allocations: 60 kB / 462.9 MB, free: 6.957 MB / 382.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.001454/0.3519, allocations: 0.8064 MB / 463.7 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.3523, allocations: 181.8 kB / 463.9 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004859/0.3572, allocations: 2.842 MB / 466.7 MB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.3572, allocations: 7.969 kB / 466.7 MB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.3572, allocations: 4 kB / 466.7 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009291/0.3582, allocations: 462.7 kB / 467.2 MB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/0.3586, allocations: 28 kB / 467.2 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.3596, allocations: 87.89 kB / 467.3 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003371/0.36, allocations: 145.1 kB / 467.4 MB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006039/0.366, allocations: 2.992 MB / 470.4 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004943/0.371, allocations: 3.471 MB / 473.9 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001447/0.3724, allocations: 1.021 MB / 474.9 MB, free: 10.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001902/0.3744, allocations: 1.153 MB / 476.1 MB, free: 9.668 MB / 398.1 MB Notification: Performance of Backend: time 2.91e-07/0.3744, allocations: 0 / 476.1 MB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004494/0.3789, allocations: 2.319 MB / 478.4 MB, free: 7.266 MB / 398.1 MB Notification: Performance of SimCode: time 0.008796/0.3877, allocations: 5.547 MB / 483.9 MB, free: 1.668 MB / 398.1 MB Notification: Performance of Templates: time 0.05168/0.4394, allocations: 33.63 MB / 0.5054 GB, free: 15.97 MB / 446.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 -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