Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001489/0.001489, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007781/0.0007782, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.982e-05/2.983e-05, allocations: 0 / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09096, allocations: 47.57 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3089/0.3999, allocations: 111.8 MB / 481.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.4002, allocations: 85.55 kB / 481.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6344/1.035, allocations: 182.7 MB / 0.6491 GB, free: 32.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.275e-06/1.035, allocations: 0 / 0.6491 GB, free: 32.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000604/1.035, allocations: 195.9 kB / 0.6493 GB, free: 32.73 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.02211/1.057, allocations: 7.626 MB / 0.6567 GB, free: 25.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/1.057, allocations: 8.031 kB / 0.6567 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01203/1.069, allocations: 1.82 MB / 0.6585 GB, free: 23.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/1.087, allocations: 6.947 MB / 0.6653 GB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006491/1.088, allocations: 0.594 MB / 0.6659 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004003/1.092, allocations: 0.7966 MB / 0.6667 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03053/1.122, allocations: 10.77 MB / 0.6772 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004357/1.123, allocations: 11.98 kB / 0.6772 GB, free: 3.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002535/1.125, allocations: 340 kB / 0.6775 GB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003399/1.126, allocations: 364.3 kB / 0.6779 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02277/1.148, allocations: 8.995 MB / 0.6866 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3696/1.518, allocations: 34.53 MB / 0.7204 GB, free: 45.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02151/1.54, allocations: 19.69 MB / 0.7396 GB, free: 30.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005812/1.546, allocations: 3.606 MB / 0.7431 GB, free: 30.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/1.563, allocations: 9.405 MB / 0.7523 GB, free: 29.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/1.563, allocations: 66.95 kB / 0.7524 GB, free: 29.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=315): time 7.284e-06/1.563, allocations: 0 / 0.7524 GB, free: 29.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.01843/1.582, allocations: 10.03 MB / 0.7622 GB, free: 27.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.582, allocations: 91.8 kB / 0.7622 GB, free: 27.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007579/1.589, allocations: 3.834 MB / 0.766 GB, free: 27.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008367/1.59, allocations: 83.14 kB / 0.7661 GB, free: 27.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/1.592, allocations: 3.533 MB / 0.7695 GB, free: 25.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.594, allocations: 1.078 MB / 0.7706 GB, free: 24.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/1.594, allocations: 81 kB / 0.7706 GB, free: 24.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/1.594, allocations: 459.5 kB / 0.7711 GB, free: 24.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/1.596, allocations: 1.684 MB / 0.7727 GB, free: 24.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/1.599, allocations: 2.713 MB / 0.7754 GB, free: 22.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/1.602, allocations: 2.17 MB / 0.7775 GB, free: 21.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-05/1.602, allocations: 9.812 kB / 0.7775 GB, free: 21.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=490) (initialization): time 0.009188/1.611, allocations: 5.742 MB / 0.7831 GB, free: 19.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/1.611, allocations: 19.91 kB / 0.7831 GB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.403e-05/1.611, allocations: 30.72 kB / 0.7832 GB, free: 19.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/1.613, allocations: 0.8031 MB / 0.7839 GB, free: 19.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003336/1.617, allocations: 0.8032 MB / 0.7847 GB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.628, allocations: 14.8 MB / 0.7992 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004695/1.633, allocations: 194.9 kB / 0.7994 GB, free: 7.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008835/1.634, allocations: 155.2 kB / 0.7995 GB, free: 7.289 MB / 426.7 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.0008165/1.635, allocations: 341.5 kB / 0.7998 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/1.636, allocations: 458.4 kB / 0.8003 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008738/1.645, allocations: 5.389 MB / 0.8055 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/1.645, allocations: 31.53 kB / 0.8056 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/1.645, allocations: 20.8 kB / 0.8056 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/1.645, allocations: 13.69 kB / 0.8056 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/1.667, allocations: 12.33 MB / 0.8177 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.667, allocations: 4.25 kB / 0.8177 GB, free: 15.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.669, allocations: 373 kB / 0.818 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003436/1.672, allocations: 1.365 MB / 0.8194 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/1.673, allocations: 95.89 kB / 0.8194 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02677/1.699, allocations: 23.93 MB / 0.8428 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/1.699, allocations: 6.25 kB / 0.8428 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/1.713, allocations: 8.157 MB / 0.8508 GB, free: 3.805 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003403/1.717, allocations: 0.9504 MB / 0.8517 GB, free: 2.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001167/1.718, allocations: 79.42 kB / 0.8518 GB, free: 2.855 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/1.72, allocations: 190.8 kB / 0.852 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008392/1.721, allocations: 323 kB / 0.8523 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002191/1.721, allocations: 98.98 kB / 0.8524 GB, free: 2.418 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006092/1.728, allocations: 2.983 MB / 0.8553 GB, free: 0 / 458.7 MB Notification: Performance of sort global known variables: time 3.1e-07/1.728, allocations: 336 / 0.8553 GB, free: 0 / 458.7 MB Notification: Performance of remove unused functions: time 0.007844/1.735, allocations: 1.537 MB / 0.8568 GB, free: 14.67 MB / 474.7 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.001201/1.737, allocations: 0.5528 MB / 0.8573 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008945/1.746, allocations: 5.371 MB / 0.8626 GB, free: 9.109 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.746, allocations: 4.062 kB / 0.8626 GB, free: 9.105 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006776/1.752, allocations: 3.959 MB / 0.8664 GB, free: 5.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006549/1.759, allocations: 1.162 MB / 0.8676 GB, free: 4.488 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3117/2.071, allocations: 11.92 MB / 0.8792 GB, free: 90.76 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006779/2.078, allocations: 5.243 MB / 0.8843 GB, free: 89.91 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005017/2.083, allocations: 0.9971 MB / 0.8853 GB, free: 89.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/2.084, allocations: 274.9 kB / 0.8856 GB, free: 89.86 MB / 474.7 MB Notification: Performance of SimCode: time 9.01e-07/2.084, allocations: 2.094 kB / 0.8856 GB, free: 89.86 MB / 474.7 MB Notification: Performance of Templates: time 0.1345/2.218, allocations: 72.15 MB / 0.956 GB, free: 81.53 MB / 474.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_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_DOL_MultiPhase/AIMC_DOL_MultiPhase.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches