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.0009071/0.0009071, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008403/0.0008404, allocations: 90.22 kB / 262.5 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.566e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09626, allocations: 47.59 MB / 363.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4298, allocations: 103.2 MB / 466.3 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.4301, allocations: 84.64 kB / 466.4 MB, free: 8.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1137/0.5439, allocations: 43.97 MB / 0.4984 GB, free: 2.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5439, allocations: 0 / 0.4984 GB, free: 2.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001371/0.544, allocations: 51.94 kB / 0.4985 GB, free: 2.02 MB / 378.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.004429/0.5485, allocations: 2.185 MB / 0.5006 GB, free: 15.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5485, allocations: 8.031 kB / 0.5006 GB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008062/0.5493, allocations: 292.9 kB / 0.5009 GB, free: 15.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002724/0.5521, allocations: 1.538 MB / 0.5024 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.5522, allocations: 64 kB / 0.5024 GB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/0.5524, allocations: 123.9 kB / 0.5026 GB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00327/0.5557, allocations: 2.023 MB / 0.5045 GB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003728/0.5594, allocations: 2.356 MB / 0.5068 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.962e-05/0.5595, allocations: 3.984 kB / 0.5068 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.5597, allocations: 8 kB / 0.5068 GB, free: 9.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.491e-05/0.5598, allocations: 87.94 kB / 0.5069 GB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.5714, allocations: 8.057 MB / 0.5148 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.5732, allocations: 1.722 MB / 0.5165 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.5744, allocations: 0.86 MB / 0.5173 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.5747, allocations: 130.4 kB / 0.5174 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.5747, allocations: 51.81 kB / 0.5175 GB, free: 13.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=107): time 5.05e-06/0.5748, allocations: 0 / 0.5175 GB, free: 13.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.007677/0.5824, allocations: 4.365 MB / 0.5218 GB, free: 9.477 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.5825, allocations: 64.72 kB / 0.5218 GB, free: 9.402 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.584, allocations: 1.096 MB / 0.5229 GB, free: 8.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.053e-05/0.5841, allocations: 25.7 kB / 0.5229 GB, free: 8.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006432/0.5848, allocations: 0.9864 MB / 0.5239 GB, free: 7.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/0.5851, allocations: 406 kB / 0.5243 GB, free: 6.867 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.777e-05/0.5852, allocations: 0 / 0.5243 GB, free: 6.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5853, allocations: 361.9 kB / 0.5246 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008725/0.5862, allocations: 0.6755 MB / 0.5253 GB, free: 5.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.5873, allocations: 0.9681 MB / 0.5262 GB, free: 4.746 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.5883, allocations: 0.8221 MB / 0.527 GB, free: 3.922 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5883, allocations: 0 / 0.527 GB, free: 3.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003218/0.5916, allocations: 2.127 MB / 0.5291 GB, free: 1.773 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.5916, allocations: 8 kB / 0.5291 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5916, allocations: 8 kB / 0.5291 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009218/0.5925, allocations: 419.3 kB / 0.5295 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.5939, allocations: 335.5 kB / 0.5298 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1994/0.7933, allocations: 4.405 MB / 0.5341 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.7951, allocations: 65.11 kB / 0.5342 GB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003704/0.7955, allocations: 58.91 kB / 0.5342 GB, free: 104.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004697/0.796, allocations: 139.3 kB / 0.5344 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005611/0.7966, allocations: 154 kB / 0.5345 GB, free: 104.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/0.8012, allocations: 1.99 MB / 0.5365 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.8013, allocations: 12.88 kB / 0.5365 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.8013, allocations: 3.406 kB / 0.5365 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.8013, allocations: 5.953 kB / 0.5365 GB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008355/0.8097, allocations: 4.154 MB / 0.5405 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.8097, allocations: 2.344 kB / 0.5405 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.8109, allocations: 235.3 kB / 0.5408 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001301/0.8122, allocations: 457.8 kB / 0.5412 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.8123, allocations: 19.22 kB / 0.5412 GB, free: 104 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005444/0.8178, allocations: 5.912 MB / 0.547 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8178, allocations: 1.938 kB / 0.547 GB, free: 100.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004457/0.8223, allocations: 3.151 MB / 0.5501 GB, free: 99.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008922/0.8232, allocations: 390 kB / 0.5505 GB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/0.8236, allocations: 14.23 kB / 0.5505 GB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009996/0.8246, allocations: 63.67 kB / 0.5505 GB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/0.8249, allocations: 107.7 kB / 0.5506 GB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/0.825, allocations: 36.55 kB / 0.5507 GB, free: 99.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001545/0.8265, allocations: 0.8299 MB / 0.5515 GB, free: 99.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 3e-07/0.8265, allocations: 2.406 kB / 0.5515 GB, free: 99.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001851/0.8284, allocations: 425.5 kB / 0.5519 GB, free: 99.7 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005143/0.8289, allocations: 285.7 kB / 0.5522 GB, free: 99.61 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002821/0.8318, allocations: 2.123 MB / 0.5542 GB, free: 99.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.8318, allocations: 0 / 0.5542 GB, free: 99.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001817/0.8336, allocations: 1.413 MB / 0.5556 GB, free: 98.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.8354, allocations: 319.4 kB / 0.5559 GB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.842, allocations: 3.61 MB / 0.5594 GB, free: 97.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001544/0.8435, allocations: 1.858 MB / 0.5613 GB, free: 97.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001235/0.8448, allocations: 384.8 kB / 0.5616 GB, free: 97.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/0.8451, allocations: 99.86 kB / 0.5617 GB, free: 97.05 MB / 410.7 MB Notification: Performance of SimCode: time 7.82e-07/0.8452, allocations: 0 / 0.5617 GB, free: 97.05 MB / 410.7 MB Notification: Performance of Templates: time 0.03368/0.8788, allocations: 20.54 MB / 0.5818 GB, free: 95.8 MB / 410.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/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