Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001375/0.001375, allocations: 178.4 kB / 8.698 MB, free: 388 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.48/1.48, allocations: 205.3 MB / 214.4 MB, free: 1.664 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.001061/0.001061, allocations: 82.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.757e-05, allocations: 7.984 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 47.58 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4536, allocations: 109.9 MB / 473 MB, free: 2.238 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.4539, allocations: 88.97 kB / 473.1 MB, free: 2.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4269/0.8808, allocations: 87.13 MB / 0.5471 GB, free: 87.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.8808, allocations: 1.188 kB / 0.5471 GB, free: 87.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003469/0.8812, allocations: 88.23 kB / 0.5472 GB, free: 87.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.01401/0.8952, allocations: 3.684 MB / 0.5507 GB, free: 86.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.747e-05/0.8953, allocations: 9.969 kB / 0.5508 GB, free: 86.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006753/0.9021, allocations: 0.791 MB / 0.5515 GB, free: 86.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009591/0.9117, allocations: 3.665 MB / 0.5551 GB, free: 85.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.9119, allocations: 115.7 kB / 0.5552 GB, free: 85.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.9132, allocations: 220.8 kB / 0.5554 GB, free: 85.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008123/0.9213, allocations: 3.791 MB / 0.5591 GB, free: 85.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007161/0.9285, allocations: 4.324 MB / 0.5634 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.846e-05/0.9286, allocations: 6.719 kB / 0.5634 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002841/0.9289, allocations: 7.406 kB / 0.5634 GB, free: 85.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.9291, allocations: 157.4 kB / 0.5635 GB, free: 85.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/0.95, allocations: 15.27 MB / 0.5784 GB, free: 80.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005446/0.9555, allocations: 7.61 MB / 0.5859 GB, free: 73.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.9574, allocations: 1.595 MB / 0.5874 GB, free: 72.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006528/0.964, allocations: 4.489 MB / 0.5918 GB, free: 70.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.964, allocations: 58.22 kB / 0.5919 GB, free: 70.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=159): time 3.316e-06/0.964, allocations: 0 / 0.5919 GB, free: 70.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=162): time 0.008678/0.9727, allocations: 5.578 MB / 0.5973 GB, free: 67.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.9728, allocations: 66.38 kB / 0.5974 GB, free: 67.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.9747, allocations: 1.568 MB / 0.5989 GB, free: 67.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.799e-05/0.9748, allocations: 25.7 kB / 0.5989 GB, free: 67.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000712/0.9755, allocations: 1.611 MB / 0.6005 GB, free: 65.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002865/0.9758, allocations: 0.5235 MB / 0.601 GB, free: 65.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/0.9759, allocations: 0 / 0.601 GB, free: 65.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.976, allocations: 381.2 kB / 0.6014 GB, free: 65.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009657/0.977, allocations: 0.8378 MB / 0.6022 GB, free: 64.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.9782, allocations: 1.299 MB / 0.6035 GB, free: 63.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.9797, allocations: 1.182 MB / 0.6046 GB, free: 63.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.9797, allocations: 3.406 kB / 0.6046 GB, free: 63.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.00416/0.9839, allocations: 3.099 MB / 0.6076 GB, free: 62.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.9839, allocations: 11.28 kB / 0.6077 GB, free: 62.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.9839, allocations: 15.22 kB / 0.6077 GB, free: 62.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.9854, allocations: 0.6872 MB / 0.6083 GB, free: 61.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.9866, allocations: 366.1 kB / 0.6087 GB, free: 61.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/0.9943, allocations: 10.02 MB / 0.6185 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001559/0.9959, allocations: 56.17 kB / 0.6185 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.996, allocations: 80.47 kB / 0.6186 GB, free: 54.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (187): * Single equations (assignments): 182 * 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 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002974/0.9963, allocations: 148.2 kB / 0.6187 GB, free: 54.25 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003955/0.9967, allocations: 207.8 kB / 0.6189 GB, free: 54.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008126/1.005, allocations: 3 MB / 0.6219 GB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.005, allocations: 16 kB / 0.6219 GB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/1.005, allocations: 12 kB / 0.6219 GB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/1.005, allocations: 10.03 kB / 0.6219 GB, free: 52.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.019, allocations: 5.898 MB / 0.6277 GB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/1.019, allocations: 4 kB / 0.6277 GB, free: 47.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/1.021, allocations: 173.8 kB / 0.6278 GB, free: 47.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/1.024, allocations: 0.8848 MB / 0.6287 GB, free: 46.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/1.024, allocations: 22.84 kB / 0.6287 GB, free: 46.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02033/1.045, allocations: 14.22 MB / 0.6426 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.238e-06/1.045, allocations: 3.688 kB / 0.6426 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.056, allocations: 4.391 MB / 0.6469 GB, free: 28.83 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/1.058, allocations: 0.4957 MB / 0.6474 GB, free: 28.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005105/1.058, allocations: 15.7 kB / 0.6474 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.06, allocations: 61.02 kB / 0.6475 GB, free: 28.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006411/1.061, allocations: 160.2 kB / 0.6476 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/1.061, allocations: 40 kB / 0.6476 GB, free: 28.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002764/1.064, allocations: 1.179 MB / 0.6488 GB, free: 27.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.064, allocations: 0 / 0.6488 GB, free: 27.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004987/1.069, allocations: 0.6481 MB / 0.6494 GB, free: 26.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (92): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008176/1.069, allocations: 351.1 kB / 0.6498 GB, free: 26.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005944/1.075, allocations: 2.822 MB / 0.6525 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.075, allocations: 0 / 0.6525 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004377/1.08, allocations: 2.091 MB / 0.6546 GB, free: 21.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/1.084, allocations: 466.4 kB / 0.655 GB, free: 21.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.098, allocations: 5.41 MB / 0.6603 GB, free: 16.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/1.101, allocations: 2.74 MB / 0.663 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002474/1.104, allocations: 435.9 kB / 0.6634 GB, free: 13.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/1.104, allocations: 123.2 kB / 0.6635 GB, free: 13.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/1.105, allocations: 3.938 kB / 0.6635 GB, free: 13.86 MB / 410.7 MB Notification: Performance of Templates: time 0.09883/1.203, allocations: 30.55 MB / 0.6933 GB, free: 0.625 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_YD/AIMC_YD.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches