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_DOL_MultiPhase.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_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc3.is.1.|aimc3.is.2.|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc3.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc3.stator.strayReluctance.port_p.Phi.im|aimc3.stator.strayReluctance.port_p.Phi.re|aimcM.is.1.|aimcM.is.2.|aimcM.is.3.|aimcM.is.4.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|loadInertia3.phi|loadInertia3.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002106/0.002106, allocations: 177.8 kB / 8.36 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.005/2.005, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.00104/0.00104, allocations: 92.98 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.161e-05/2.158e-05, allocations: 4 kB / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3686, allocations: 47.57 MB / 362.3 MB, free: 45.79 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1823/0.551, allocations: 111.2 MB / 473.5 MB, free: 7.07 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.5514, allocations: 86.98 kB / 473.6 MB, free: 6.988 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8967/1.448, allocations: 180.4 MB / 0.6387 GB, free: 1.164 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.155e-06/1.448, allocations: 0 / 0.6387 GB, free: 1.164 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0008016/1.449, allocations: 199.8 kB / 0.6389 GB, free: 0.9688 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03605/1.485, allocations: 7.609 MB / 0.6463 GB, free: 9.27 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/1.485, allocations: 8.031 kB / 0.6464 GB, free: 9.262 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/1.501, allocations: 1.82 MB / 0.6481 GB, free: 7.43 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02703/1.528, allocations: 6.939 MB / 0.6549 GB, free: 428 kB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006556/1.529, allocations: 260 kB / 0.6552 GB, free: 168 kB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.5981/2.127, allocations: 486.5 kB / 0.6556 GB, free: 35.4 MB / 411.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02617/2.153, allocations: 8.515 MB / 0.6639 GB, free: 35.36 MB / 411.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03337/2.186, allocations: 9.603 MB / 0.6733 GB, free: 34.57 MB / 411.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003736/2.187, allocations: 16.78 kB / 0.6733 GB, free: 34.57 MB / 411.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002265/2.189, allocations: 3.344 kB / 0.6733 GB, free: 34.57 MB / 411.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004035/2.19, allocations: 372.8 kB / 0.6737 GB, free: 34.55 MB / 411.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09035/2.28, allocations: 32.98 MB / 0.7059 GB, free: 28.87 MB / 411.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02723/2.307, allocations: 19.46 MB / 0.7249 GB, free: 14.31 MB / 411.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008178/2.315, allocations: 3.471 MB / 0.7283 GB, free: 13.02 MB / 411.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03793/2.353, allocations: 9.131 MB / 0.7372 GB, free: 8.582 MB / 411.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.958e-05/2.354, allocations: 66.98 kB / 0.7373 GB, free: 8.52 MB / 411.2 MB Notification: Performance of pre-optimization done (n=315): time 1.078e-05/2.354, allocations: 0 / 0.7373 GB, free: 8.52 MB / 411.2 MB Notification: Performance of matching and sorting (n=321): time 0.04392/2.398, allocations: 10.42 MB / 0.7475 GB, free: 3.992 MB / 411.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/2.398, allocations: 85.47 kB / 0.7475 GB, free: 3.926 MB / 411.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008194/2.406, allocations: 3.147 MB / 0.7506 GB, free: 2.738 MB / 411.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0007537/2.407, allocations: 29.58 kB / 0.7506 GB, free: 2.707 MB / 411.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.002709/2.409, allocations: 3.329 MB / 0.7539 GB, free: 128 kB / 411.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.001819/2.411, allocations: 1.034 MB / 0.7549 GB, free: 15.3 MB / 427.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/2.412, allocations: 0 / 0.7549 GB, free: 15.3 MB / 427.2 MB Notification: Performance of setup shared object (initialization): time 0.0003489/2.412, allocations: 462.7 kB / 0.7553 GB, free: 14.93 MB / 427.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004083/2.416, allocations: 1.614 MB / 0.7569 GB, free: 14.25 MB / 427.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005377/2.422, allocations: 2.618 MB / 0.7595 GB, free: 12.34 MB / 427.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/2.433, allocations: 2.398 MB / 0.7618 GB, free: 11.44 MB / 427.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/2.433, allocations: 10.16 kB / 0.7618 GB, free: 11.44 MB / 427.2 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.01919/2.453, allocations: 5.376 MB / 0.7671 GB, free: 9.492 MB / 427.2 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/2.453, allocations: 19.22 kB / 0.7671 GB, free: 9.492 MB / 427.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.035e-05/2.453, allocations: 35.56 kB / 0.7671 GB, free: 9.492 MB / 427.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/2.458, allocations: 0.7798 MB / 0.7679 GB, free: 9.234 MB / 427.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01096/2.47, allocations: 0.8075 MB / 0.7687 GB, free: 9.207 MB / 427.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0224/2.492, allocations: 14.26 MB / 0.7826 GB, free: 13.8 MB / 443.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005394/2.497, allocations: 117.1 kB / 0.7827 GB, free: 13.8 MB / 443.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/2.499, allocations: 156.7 kB / 0.7829 GB, free: 13.77 MB / 443.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (427): * Single equations (assignments): 418 * 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: 7 * 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: 7 {(1,100.0%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000993/2.5, allocations: 224.3 kB / 0.7831 GB, free: 13.63 MB / 443.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001511/2.501, allocations: 407.2 kB / 0.7835 GB, free: 13.42 MB / 443.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/2.517, allocations: 5.371 MB / 0.7887 GB, free: 11.25 MB / 443.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/2.517, allocations: 27.12 kB / 0.7887 GB, free: 11.25 MB / 443.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.208e-05/2.517, allocations: 19.41 kB / 0.7888 GB, free: 11.25 MB / 443.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.273e-05/2.517, allocations: 17.03 kB / 0.7888 GB, free: 11.25 MB / 443.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03554/2.553, allocations: 11.27 MB / 0.7998 GB, free: 2.277 MB / 443.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.953e-05/2.553, allocations: 11.78 kB / 0.7998 GB, free: 2.27 MB / 443.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003501/2.556, allocations: 372.6 kB / 0.8001 GB, free: 1.984 MB / 443.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006086/2.562, allocations: 1.334 MB / 0.8014 GB, free: 0.8828 MB / 443.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000634/2.563, allocations: 48.94 kB / 0.8015 GB, free: 0.8477 MB / 443.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3727/2.936, allocations: 23.11 MB / 0.8241 GB, free: 70 MB / 459.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/2.936, allocations: 9.219 kB / 0.8241 GB, free: 70 MB / 459.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/2.956, allocations: 8.123 MB / 0.832 GB, free: 68.82 MB / 459.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003664/2.96, allocations: 0.8869 MB / 0.8329 GB, free: 68.73 MB / 459.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001725/2.962, allocations: 31.94 kB / 0.8329 GB, free: 68.73 MB / 459.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004824/2.967, allocations: 141.3 kB / 0.833 GB, free: 68.72 MB / 459.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001494/2.968, allocations: 319.5 kB / 0.8333 GB, free: 68.72 MB / 459.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005806/2.969, allocations: 97.03 kB / 0.8334 GB, free: 68.72 MB / 459.2 MB Notification: Performance of sorting global known variables: time 0.005799/2.975, allocations: 2.34 MB / 0.8357 GB, free: 68.57 MB / 459.2 MB Notification: Performance of sort global known variables: time 1.403e-06/2.975, allocations: 0 / 0.8357 GB, free: 68.57 MB / 459.2 MB Notification: Performance of remove unused functions: time 0.008215/2.983, allocations: 1.295 MB / 0.837 GB, free: 68.57 MB / 459.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(6,72.2%) 46,(3,100.0%) 23,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/2.984, allocations: 427.1 kB / 0.8374 GB, free: 68.48 MB / 459.2 MB Notification: Performance of simCode: created initialization part: time 0.01147/2.996, allocations: 5.107 MB / 0.8424 GB, free: 67.48 MB / 459.2 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/2.996, allocations: 7.219 kB / 0.8424 GB, free: 67.48 MB / 459.2 MB Notification: Performance of simCode: created simulation system equations: time 0.00981/3.006, allocations: 3.789 MB / 0.8461 GB, free: 66.45 MB / 459.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00778/3.014, allocations: 0.8412 MB / 0.8469 GB, free: 66.44 MB / 459.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03826/3.052, allocations: 11.58 MB / 0.8582 GB, free: 63.86 MB / 459.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01087/3.063, allocations: 5.113 MB / 0.8632 GB, free: 62.97 MB / 459.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002015/3.065, allocations: 282.5 kB / 0.8635 GB, free: 62.97 MB / 459.2 MB Notification: Performance of SimCode: time 1.352e-06/3.065, allocations: 0 / 0.8635 GB, free: 62.97 MB / 459.2 MB Notification: Performance of Templates: time 1.332/4.397, allocations: 441.2 MB / 1.294 GB, free: 33.63 MB / 491.2 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_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_DOL_MultiPhase/AIMC_DOL_MultiPhase.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches