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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.445/1.445, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008719/0.0008722, allocations: 78.67 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.509e-05, allocations: 4 kB / 322.5 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08751/0.08755, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3413/0.4289, allocations: 104.7 MB / 474.7 MB, free: 4.879 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4291, allocations: 90.97 kB / 474.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1505/0.5797, allocations: 49.07 MB / 0.5116 GB, free: 4.602 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5797, allocations: 0 / 0.5116 GB, free: 4.602 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001734/0.5799, allocations: 67.88 kB / 0.5117 GB, free: 4.535 MB / 394.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.006364/0.5863, allocations: 2.464 MB / 0.5141 GB, free: 2.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5863, allocations: 8.031 kB / 0.5141 GB, free: 2.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.5875, allocations: 328.4 kB / 0.5144 GB, free: 1.68 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.5912, allocations: 1.725 MB / 0.5161 GB, free: 15.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.5913, allocations: 176.6 kB / 0.5163 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003847/0.5917, allocations: 227.9 kB / 0.5165 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005099/0.5968, allocations: 3.087 MB / 0.5195 GB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-05/0.5969, allocations: 11.83 kB / 0.5195 GB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.5971, allocations: 96 kB / 0.5196 GB, free: 12.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.905e-05/0.5973, allocations: 96.44 kB / 0.5197 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004281/0.6015, allocations: 2.512 MB / 0.5221 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2273/0.8289, allocations: 9.934 MB / 0.5318 GB, free: 98.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/0.8319, allocations: 2.075 MB / 0.5339 GB, free: 98.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.8337, allocations: 1.094 MB / 0.5349 GB, free: 98.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004151/0.8341, allocations: 140.2 kB / 0.5351 GB, free: 97.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.8341, allocations: 50.83 kB / 0.5351 GB, free: 97.92 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 3.587e-06/0.8342, allocations: 1.062 kB / 0.5351 GB, free: 97.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.01406/0.8482, allocations: 6.275 MB / 0.5412 GB, free: 97.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.8483, allocations: 66.72 kB / 0.5413 GB, free: 97.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.8511, allocations: 1.45 MB / 0.5427 GB, free: 97.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002479/0.8514, allocations: 52.92 kB / 0.5428 GB, free: 97.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007889/0.8522, allocations: 1.075 MB / 0.5438 GB, free: 96.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004713/0.8527, allocations: 494.6 kB / 0.5443 GB, free: 96.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.712e-05/0.8528, allocations: 29.62 kB / 0.5443 GB, free: 96.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.8529, allocations: 369.9 kB / 0.5447 GB, free: 96.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.8542, allocations: 0.8588 MB / 0.5455 GB, free: 96.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.8557, allocations: 1.179 MB / 0.5467 GB, free: 95.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/0.8573, allocations: 1.01 MB / 0.5476 GB, free: 95.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.8573, allocations: 3.281 kB / 0.5477 GB, free: 95.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005018/0.8623, allocations: 2.923 MB / 0.5505 GB, free: 95.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.8624, allocations: 8.844 kB / 0.5505 GB, free: 95.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.8624, allocations: 6.75 kB / 0.5505 GB, free: 95.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/0.8643, allocations: 0.8385 MB / 0.5513 GB, free: 95.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.8655, allocations: 320 kB / 0.5516 GB, free: 95.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008466/0.874, allocations: 9.063 MB / 0.5605 GB, free: 90.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.8757, allocations: 99 kB / 0.5606 GB, free: 90.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.8759, allocations: 58.31 kB / 0.5606 GB, free: 90.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003265/0.8762, allocations: 199.8 kB / 0.5608 GB, free: 90.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.8765, allocations: 183.8 kB / 0.561 GB, free: 90.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.8807, allocations: 2.787 MB / 0.5637 GB, free: 89.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.8807, allocations: 14.31 kB / 0.5637 GB, free: 89.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.8807, allocations: 11.16 kB / 0.5638 GB, free: 89.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.8808, allocations: 11.55 kB / 0.5638 GB, free: 89.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008874/0.8896, allocations: 5.577 MB / 0.5692 GB, free: 86.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.8897, allocations: 7.297 kB / 0.5692 GB, free: 86.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009334/0.8906, allocations: 215.8 kB / 0.5694 GB, free: 86.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/0.8927, allocations: 0.8899 MB / 0.5703 GB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.8928, allocations: 38.7 kB / 0.5703 GB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009182/0.902, allocations: 10.59 MB / 0.5807 GB, free: 79.24 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.902, allocations: 6.156 kB / 0.5807 GB, free: 79.24 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005533/0.9076, allocations: 4.201 MB / 0.5848 GB, free: 77.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.9088, allocations: 468.1 kB / 0.5852 GB, free: 77.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.9091, allocations: 34.81 kB / 0.5853 GB, free: 77.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009723/0.9101, allocations: 93.38 kB / 0.5854 GB, free: 77.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004089/0.9105, allocations: 150.7 kB / 0.5855 GB, free: 77.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.674e-05/0.9106, allocations: 40.98 kB / 0.5855 GB, free: 77.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001447/0.9121, allocations: 1.109 MB / 0.5866 GB, free: 76.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.9121, allocations: 3.969 kB / 0.5866 GB, free: 76.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002/0.9141, allocations: 0.5887 MB / 0.5872 GB, free: 76.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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.0004761/0.9146, allocations: 300.5 kB / 0.5875 GB, free: 76.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004265/0.9189, allocations: 2.907 MB / 0.5903 GB, free: 75.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/0.9189, allocations: 7.062 kB / 0.5903 GB, free: 75.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003033/0.9219, allocations: 1.99 MB / 0.5923 GB, free: 73.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.9245, allocations: 480.3 kB / 0.5927 GB, free: 73.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006658/0.9312, allocations: 4.253 MB / 0.5969 GB, free: 72.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.9326, allocations: 2.073 MB / 0.5989 GB, free: 71.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001361/0.9339, allocations: 400.9 kB / 0.5993 GB, free: 71.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.9343, allocations: 116.6 kB / 0.5994 GB, free: 71.04 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9343, allocations: 4 kB / 0.5994 GB, free: 71.03 MB / 410.7 MB Notification: Performance of Templates: time 0.04539/0.9797, allocations: 32.84 MB / 0.6315 GB, free: 45.77 MB / 410.7 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/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_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches