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_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.airGap.V_mrr.im|aimc.airGap.V_mrr.re|aimc.airGap.V_msr.im|aimc.airGap.V_msr.re|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.strayReluctance.port_p.Phi.im|aimc.stator.strayReluctance.port_p.Phi.re|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 181.8 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.0011/0.0011, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.01e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09575, allocations: 47.58 MB / 369.1 MB, free: 2.184 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.5617, allocations: 108.5 MB / 477.6 MB, free: 1.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.562, allocations: 86.05 kB / 477.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5886/1.151, allocations: 80.31 MB / 0.545 GB, free: 89.64 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/1.151, allocations: 2.062 kB / 0.545 GB, free: 89.64 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003854/1.151, allocations: 80.25 kB / 0.545 GB, free: 89.63 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: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01475/1.166, allocations: 3.201 MB / 0.5482 GB, free: 88.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.166, allocations: 8.969 kB / 0.5482 GB, free: 88.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006441/1.172, allocations: 0.7273 MB / 0.5489 GB, free: 88.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/1.185, allocations: 3.344 MB / 0.5521 GB, free: 87.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/1.186, allocations: 234.4 kB / 0.5524 GB, free: 87.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/1.187, allocations: 318.7 kB / 0.5527 GB, free: 87.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/1.201, allocations: 4.093 MB / 0.5567 GB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001727/1.201, allocations: 5.812 kB / 0.5567 GB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009342/1.202, allocations: 138.4 kB / 0.5568 GB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001843/1.202, allocations: 144.5 kB / 0.5569 GB, free: 87.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/1.213, allocations: 3.344 MB / 0.5602 GB, free: 87.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03548/1.248, allocations: 13.55 MB / 0.5734 GB, free: 81.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009541/1.258, allocations: 6.787 MB / 0.5801 GB, free: 75.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003671/1.261, allocations: 1.365 MB / 0.5814 GB, free: 75.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01054/1.272, allocations: 3.618 MB / 0.5849 GB, free: 73.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/1.272, allocations: 46.3 kB / 0.585 GB, free: 73.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 4.529e-06/1.272, allocations: 0 / 0.585 GB, free: 73.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=142): time 0.0156/1.288, allocations: 5.02 MB / 0.5899 GB, free: 70.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.288, allocations: 71.02 kB / 0.5899 GB, free: 70.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/1.292, allocations: 1.607 MB / 0.5915 GB, free: 69.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003228/1.292, allocations: 49.52 kB / 0.5916 GB, free: 69.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009676/1.293, allocations: 1.365 MB / 0.5929 GB, free: 68.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006096/1.294, allocations: 489.7 kB / 0.5934 GB, free: 68.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/1.294, allocations: 34.75 kB / 0.5934 GB, free: 68.35 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/1.294, allocations: 376.1 kB / 0.5938 GB, free: 68.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/1.296, allocations: 0.7193 MB / 0.5945 GB, free: 67.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/1.298, allocations: 1.168 MB / 0.5956 GB, free: 66.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/1.3, allocations: 0.9372 MB / 0.5965 GB, free: 66.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/1.3, allocations: 3.562 kB / 0.5965 GB, free: 66.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006456/1.307, allocations: 2.448 MB / 0.5989 GB, free: 65.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/1.307, allocations: 10.47 kB / 0.5989 GB, free: 65.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/1.307, allocations: 14.25 kB / 0.5989 GB, free: 65.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/1.309, allocations: 0.4997 MB / 0.5994 GB, free: 65.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/1.312, allocations: 385.3 kB / 0.5998 GB, free: 65.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/1.324, allocations: 6.376 MB / 0.606 GB, free: 60.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002548/1.326, allocations: 83.06 kB / 0.6061 GB, free: 60.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003614/1.327, allocations: 74.28 kB / 0.6062 GB, free: 60.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 176 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(7,67.3%) 31} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004154/1.327, allocations: 202.7 kB / 0.6064 GB, free: 60.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005642/1.328, allocations: 194 kB / 0.6065 GB, free: 60.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00624/1.334, allocations: 2.409 MB / 0.6089 GB, free: 59.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/1.334, allocations: 10.47 kB / 0.6089 GB, free: 59.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/1.334, allocations: 13.47 kB / 0.6089 GB, free: 59.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/1.334, allocations: 7.734 kB / 0.6089 GB, free: 59.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.347, allocations: 5.383 MB / 0.6142 GB, free: 56.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.347, allocations: 3.375 kB / 0.6142 GB, free: 56.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001987/1.349, allocations: 212.6 kB / 0.6144 GB, free: 56.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/1.352, allocations: 0.4974 MB / 0.6149 GB, free: 56.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/1.352, allocations: 31.33 kB / 0.6149 GB, free: 56.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/1.365, allocations: 10.41 MB / 0.6251 GB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/1.365, allocations: 0 / 0.6251 GB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00787/1.373, allocations: 3.524 MB / 0.6285 GB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.374, allocations: 453.1 kB / 0.6289 GB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006285/1.375, allocations: 28 kB / 0.629 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002039/1.377, allocations: 80.08 kB / 0.629 GB, free: 41.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004457/1.378, allocations: 104.5 kB / 0.6291 GB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.378, allocations: 47.66 kB / 0.6292 GB, free: 41.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002856/1.381, allocations: 1.236 MB / 0.6304 GB, free: 40.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.02e-07/1.381, allocations: 0 / 0.6304 GB, free: 40.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003429/1.384, allocations: 0.6246 MB / 0.631 GB, free: 39.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009279/1.385, allocations: 405 kB / 0.6314 GB, free: 39.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005912/1.391, allocations: 2.289 MB / 0.6336 GB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/1.391, allocations: 3.938 kB / 0.6336 GB, free: 37.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00382/1.395, allocations: 1.66 MB / 0.6353 GB, free: 35.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/1.399, allocations: 473.9 kB / 0.6357 GB, free: 35.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.412, allocations: 4.812 MB / 0.6404 GB, free: 31.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/1.415, allocations: 2.368 MB / 0.6427 GB, free: 29.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009186/1.416, allocations: 149.8 kB / 0.6429 GB, free: 29.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/1.416, allocations: 0 / 0.6429 GB, free: 29.2 MB / 410.7 MB Notification: Performance of Templates: time 0.4365/1.853, allocations: 92.5 MB / 0.7332 GB, free: 90.77 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize_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_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches