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.002129/0.00213, allocations: 178.3 kB / 17.41 MB, free: 4.41 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.832/2.832, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0006994/0.0006995, allocations: 84.91 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1965, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1122/0.3087, allocations: 108.9 MB / 484.6 MB, free: 3.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.309, allocations: 91.95 kB / 484.7 MB, free: 3.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.312/0.621, allocations: 80.11 MB / 0.5516 GB, free: 64.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.621, allocations: 0 / 0.5516 GB, free: 64.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002656/0.6213, allocations: 79.86 kB / 0.5517 GB, free: 64.75 MB / 378.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.009476/0.6308, allocations: 3.49 MB / 0.5551 GB, free: 61.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.6308, allocations: 8.031 kB / 0.5551 GB, free: 61.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/0.6347, allocations: 0.7383 MB / 0.5558 GB, free: 60.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005631/0.6404, allocations: 2.724 MB / 0.5585 GB, free: 57.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.6406, allocations: 234.6 kB / 0.5587 GB, free: 57.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009196/0.6415, allocations: 308.3 kB / 0.559 GB, free: 57.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009053/0.6506, allocations: 4.212 MB / 0.5631 GB, free: 52.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.6508, allocations: 7.984 kB / 0.5631 GB, free: 52.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006729/0.6514, allocations: 132 kB / 0.5632 GB, free: 52.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.6516, allocations: 138.2 kB / 0.5634 GB, free: 52.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006729/0.6583, allocations: 3.46 MB / 0.5667 GB, free: 49.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02052/0.6789, allocations: 13.58 MB / 0.58 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/0.684, allocations: 6.879 MB / 0.5867 GB, free: 27.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/0.6862, allocations: 1.421 MB / 0.5881 GB, free: 25.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005939/0.6922, allocations: 3.639 MB / 0.5917 GB, free: 22.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.6922, allocations: 47.5 kB / 0.5917 GB, free: 22.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=124): time 3.316e-06/0.6922, allocations: 0 / 0.5917 GB, free: 22.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=144): time 0.01192/0.7042, allocations: 6.605 MB / 0.5982 GB, free: 15.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/0.7042, allocations: 64.72 kB / 0.5982 GB, free: 15.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/0.707, allocations: 1.827 MB / 0.6 GB, free: 13.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.7072, allocations: 49.7 kB / 0.6001 GB, free: 13.37 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006884/0.7079, allocations: 1.431 MB / 0.6015 GB, free: 11.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003669/0.7083, allocations: 0.489 MB / 0.6019 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.7084, allocations: 36 kB / 0.602 GB, free: 11.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7085, allocations: 373.9 kB / 0.6023 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.7097, allocations: 0.7574 MB / 0.6031 GB, free: 10.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.711, allocations: 1.22 MB / 0.6043 GB, free: 8.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.7135, allocations: 2.111 MB / 0.6063 GB, free: 6.551 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.7136, allocations: 4 kB / 0.6063 GB, free: 6.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.00435/0.7179, allocations: 2.659 MB / 0.6089 GB, free: 3.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.718, allocations: 15.98 kB / 0.6089 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/0.718, allocations: 12 kB / 0.6089 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/0.7194, allocations: 0.5055 MB / 0.6094 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.7209, allocations: 391.5 kB / 0.6098 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007923/0.7288, allocations: 6.41 MB / 0.6161 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.7305, allocations: 84.02 kB / 0.6161 GB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002913/0.7308, allocations: 71.94 kB / 0.6162 GB, free: 12.11 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 178 * 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,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002285/0.7331, allocations: 1.044 MB / 0.6172 GB, free: 11.06 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/0.7337, allocations: 189.7 kB / 0.6174 GB, free: 10.87 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/0.7386, allocations: 2.515 MB / 0.6199 GB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.7387, allocations: 15.94 kB / 0.6199 GB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/0.7387, allocations: 8 kB / 0.6199 GB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.7387, allocations: 7.969 kB / 0.6199 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01059/0.7493, allocations: 5.497 MB / 0.6253 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.7494, allocations: 4.031 kB / 0.6253 GB, free: 2.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009863/0.7504, allocations: 215.7 kB / 0.6255 GB, free: 2.406 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.7517, allocations: 0.5036 MB / 0.626 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.7519, allocations: 35.98 kB / 0.626 GB, free: 1.852 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.762, allocations: 10.45 MB / 0.6362 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.7621, allocations: 7.969 kB / 0.6362 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.7683, allocations: 3.561 MB / 0.6397 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001128/0.7695, allocations: 454.5 kB / 0.6401 GB, free: 2.617 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005166/0.77, allocations: 43.98 kB / 0.6402 GB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.7712, allocations: 71.89 kB / 0.6402 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.7715, allocations: 117.1 kB / 0.6403 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.7716, allocations: 36 kB / 0.6404 GB, free: 2.355 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002443/0.7741, allocations: 1.258 MB / 0.6416 GB, free: 1.105 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7741, allocations: 0 / 0.6416 GB, free: 1.105 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003008/0.7771, allocations: 0.6251 MB / 0.6422 GB, free: 492 kB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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.0006661/0.7778, allocations: 364.5 kB / 0.6426 GB, free: 128 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1821/0.9599, allocations: 2.391 MB / 0.6449 GB, free: 94.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.9599, allocations: 0 / 0.6449 GB, free: 94.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.9621, allocations: 1.714 MB / 0.6466 GB, free: 94.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.9649, allocations: 0.4888 MB / 0.6471 GB, free: 94.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.9751, allocations: 7.092 MB / 0.654 GB, free: 91.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00191/0.9771, allocations: 2.322 MB / 0.6562 GB, free: 90.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006784/0.9778, allocations: 139 kB / 0.6564 GB, free: 90.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9778, allocations: 0 / 0.6564 GB, free: 90.48 MB / 410.7 MB Notification: Performance of Templates: time 0.09371/1.072, allocations: 98.02 MB / 0.7521 GB, free: 24.68 MB / 410.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