Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001581, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 89.12 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.062e-05/2.062e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3399, allocations: 47.57 MB / 362.3 MB, free: 45.87 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.5386, allocations: 117.4 MB / 479.8 MB, free: 0.8477 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/0.539, allocations: 87.95 kB / 479.8 MB, free: 0.7617 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7587/1.298, allocations: 131.3 MB / 0.5969 GB, free: 45.23 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.794e-06/1.298, allocations: 0 / 0.5969 GB, free: 45.23 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.000544/1.298, allocations: 122.2 kB / 0.597 GB, free: 45.11 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.0199/1.318, allocations: 4.775 MB / 0.6016 GB, free: 40.28 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/1.318, allocations: 8.031 kB / 0.6016 GB, free: 40.27 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007633/1.326, allocations: 0.977 MB / 0.6026 GB, free: 39.29 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/1.342, allocations: 4.46 MB / 0.607 GB, free: 34.83 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003467/1.342, allocations: 163.9 kB / 0.6071 GB, free: 34.67 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/1.344, allocations: 287.9 kB / 0.6074 GB, free: 34.39 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.016/1.36, allocations: 5.111 MB / 0.6124 GB, free: 29.27 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/1.381, allocations: 5.904 MB / 0.6181 GB, free: 23.18 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001967/1.382, allocations: 11.84 kB / 0.6182 GB, free: 23.17 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001155/1.383, allocations: 11.94 kB / 0.6182 GB, free: 23.16 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002789/1.383, allocations: 233.8 kB / 0.6184 GB, free: 22.93 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05242/1.436, allocations: 20.01 MB / 0.6379 GB, free: 2.621 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/1.451, allocations: 9.699 MB / 0.6474 GB, free: 7.898 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006647/1.458, allocations: 2.314 MB / 0.6497 GB, free: 5.578 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3298/1.787, allocations: 6.301 MB / 0.6558 GB, free: 64.14 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/1.787, allocations: 60 kB / 0.6559 GB, free: 64.11 MB / 411.1 MB Notification: Performance of pre-optimization done (n=217): time 5.601e-06/1.787, allocations: 0 / 0.6559 GB, free: 64.11 MB / 411.1 MB Notification: Performance of matching and sorting (n=224): time 0.02334/1.811, allocations: 7.245 MB / 0.6629 GB, free: 63.09 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.811, allocations: 78.8 kB / 0.663 GB, free: 63.02 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00545/1.816, allocations: 2.093 MB / 0.6651 GB, free: 62.81 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005282/1.817, allocations: 28.98 kB / 0.6651 GB, free: 62.78 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/1.819, allocations: 2.049 MB / 0.6671 GB, free: 62 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001149/1.82, allocations: 0.7212 MB / 0.6678 GB, free: 61.54 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/1.82, allocations: 0 / 0.6678 GB, free: 61.54 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/1.82, allocations: 408.5 kB / 0.6682 GB, free: 61.22 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/1.823, allocations: 1.159 MB / 0.6693 GB, free: 61.21 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003321/1.827, allocations: 1.715 MB / 0.671 GB, free: 60.59 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004257/1.831, allocations: 1.582 MB / 0.6725 GB, free: 60.57 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.873e-05/1.831, allocations: 3.656 kB / 0.6725 GB, free: 60.57 MB / 411.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01019/1.841, allocations: 3.721 MB / 0.6762 GB, free: 60.29 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/1.841, allocations: 10.97 kB / 0.6762 GB, free: 60.29 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/1.841, allocations: 18.67 kB / 0.6762 GB, free: 60.29 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/1.844, allocations: 0.6359 MB / 0.6768 GB, free: 60.25 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004465/1.848, allocations: 0.5485 MB / 0.6774 GB, free: 60.25 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01366/1.862, allocations: 9.619 MB / 0.6868 GB, free: 55.18 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003619/1.866, allocations: 57.31 kB / 0.6868 GB, free: 55.18 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007596/1.867, allocations: 97.53 kB / 0.6869 GB, free: 55.18 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * 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,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006772/1.867, allocations: 169.1 kB / 0.6871 GB, free: 55.06 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.868, allocations: 281.6 kB / 0.6873 GB, free: 54.91 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.88, allocations: 3.674 MB / 0.6909 GB, free: 54.52 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.442e-05/1.88, allocations: 21.31 kB / 0.6909 GB, free: 54.52 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.859e-05/1.88, allocations: 11.06 kB / 0.691 GB, free: 54.52 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.069e-05/1.88, allocations: 11.69 kB / 0.691 GB, free: 54.52 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02227/1.902, allocations: 7.669 MB / 0.6985 GB, free: 53.81 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.169e-05/1.903, allocations: 1.188 kB / 0.6985 GB, free: 53.81 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/1.906, allocations: 346 kB / 0.6988 GB, free: 53.81 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003925/1.91, allocations: 0.7984 MB / 0.6996 GB, free: 53.76 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006325/1.91, allocations: 34.84 kB / 0.6996 GB, free: 53.76 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/1.93, allocations: 13.85 MB / 0.7131 GB, free: 45.29 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.979e-06/1.93, allocations: 9.406 kB / 0.7131 GB, free: 45.29 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01276/1.943, allocations: 5.551 MB / 0.7186 GB, free: 42.68 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/1.946, allocations: 0.6358 MB / 0.7192 GB, free: 42.28 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009288/1.947, allocations: 18.31 kB / 0.7192 GB, free: 42.27 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/1.95, allocations: 83.38 kB / 0.7193 GB, free: 42.27 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006377/1.95, allocations: 188 kB / 0.7194 GB, free: 42.25 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/1.951, allocations: 69.08 kB / 0.7195 GB, free: 42.23 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003496/1.954, allocations: 1.572 MB / 0.7211 GB, free: 41.57 MB / 411.1 MB Notification: Performance of sort global known variables: time 9.62e-07/1.954, allocations: 0 / 0.7211 GB, free: 41.57 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.005347/1.96, allocations: 0.8657 MB / 0.7219 GB, free: 41.55 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 148 * 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 {(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001227/1.961, allocations: 423.5 kB / 0.7223 GB, free: 41.42 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.007819/1.969, allocations: 3.556 MB / 0.7258 GB, free: 39.78 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.969, allocations: 0 / 0.7258 GB, free: 39.78 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005611/1.974, allocations: 2.455 MB / 0.7282 GB, free: 38.44 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005477/1.98, allocations: 0.6081 MB / 0.7288 GB, free: 38.3 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02181/2.002, allocations: 7.498 MB / 0.7361 GB, free: 35.33 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005361/2.007, allocations: 3.418 MB / 0.7394 GB, free: 34.01 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/2.009, allocations: 191 kB / 0.7396 GB, free: 34 MB / 411.1 MB Notification: Performance of SimCode: time 1.113e-06/2.009, allocations: 0 / 0.7396 GB, free: 34 MB / 411.1 MB Notification: Performance of Templates: time 0.6061/2.615, allocations: 188.6 MB / 0.9237 GB, free: 48.1 MB / 443.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches