Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0008958/0.0008959, allocations: 183.3 kB / 18.04 MB, free: 3.777 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.264/1.264, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007192/0.0007192, allocations: 85.55 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003315, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2153, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1151/0.3305, allocations: 108.9 MB / 485.9 MB, free: 3.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.3309, allocations: 91.94 kB / 486 MB, free: 3.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3317/0.6626, allocations: 80.11 MB / 0.5529 GB, free: 64.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6626, allocations: 4 kB / 0.5529 GB, free: 64.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000258/0.6629, allocations: 75.88 kB / 0.5529 GB, free: 64.65 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.008833/0.6717, allocations: 3.497 MB / 0.5564 GB, free: 61.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.6718, allocations: 8.031 kB / 0.5564 GB, free: 61.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.6756, allocations: 0.7422 MB / 0.5571 GB, free: 60.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005382/0.681, allocations: 2.728 MB / 0.5598 GB, free: 57.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.6811, allocations: 238.6 kB / 0.56 GB, free: 57.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006916/0.6818, allocations: 312.3 kB / 0.5603 GB, free: 57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006869/0.6887, allocations: 4.2 MB / 0.5644 GB, free: 52.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.149e-05/0.6888, allocations: 8 kB / 0.5644 GB, free: 52.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/0.6891, allocations: 135.9 kB / 0.5645 GB, free: 52.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.6893, allocations: 138.2 kB / 0.5646 GB, free: 52.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005324/0.6946, allocations: 3.456 MB / 0.568 GB, free: 48.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01672/0.7113, allocations: 13.58 MB / 0.5813 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004617/0.716, allocations: 6.882 MB / 0.588 GB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.7178, allocations: 1.426 MB / 0.5894 GB, free: 25.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004894/0.7227, allocations: 3.635 MB / 0.5929 GB, free: 22.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.7228, allocations: 47.5 kB / 0.593 GB, free: 22.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=124): time 2.716e-06/0.7228, allocations: 0 / 0.593 GB, free: 22.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=144): time 0.01061/0.7334, allocations: 6.604 MB / 0.5994 GB, free: 15.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.7335, allocations: 64.72 kB / 0.5995 GB, free: 15.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.7357, allocations: 1.827 MB / 0.6013 GB, free: 13.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.342e-05/0.7358, allocations: 53.64 kB / 0.6013 GB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006075/0.7364, allocations: 1.427 MB / 0.6027 GB, free: 11.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.7366, allocations: 0.489 MB / 0.6032 GB, free: 11.31 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.571e-05/0.7367, allocations: 32 kB / 0.6032 GB, free: 11.28 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.7368, allocations: 369.9 kB / 0.6036 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.7378, allocations: 0.7652 MB / 0.6043 GB, free: 10.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.739, allocations: 1.216 MB / 0.6055 GB, free: 8.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002295/0.7413, allocations: 2.115 MB / 0.6076 GB, free: 6.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.7413, allocations: 8 kB / 0.6076 GB, free: 6.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.003626/0.7449, allocations: 2.651 MB / 0.6102 GB, free: 3.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.745, allocations: 12 kB / 0.6102 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.745, allocations: 12 kB / 0.6102 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.7462, allocations: 0.5094 MB / 0.6107 GB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.7475, allocations: 383.5 kB / 0.6111 GB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007006/0.7546, allocations: 6.41 MB / 0.6173 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.7558, allocations: 80.02 kB / 0.6174 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.7559, allocations: 79.92 kB / 0.6175 GB, free: 12.01 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.00193/0.7579, allocations: 1.036 MB / 0.6185 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003233/0.7582, allocations: 193.7 kB / 0.6187 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/0.7624, allocations: 2.523 MB / 0.6211 GB, free: 8.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/0.7624, allocations: 15.94 kB / 0.6212 GB, free: 8.164 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.7625, allocations: 16 kB / 0.6212 GB, free: 8.148 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.7625, allocations: 7.969 kB / 0.6212 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008949/0.7714, allocations: 5.493 MB / 0.6266 GB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.7715, allocations: 4 kB / 0.6266 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009948/0.7725, allocations: 211.7 kB / 0.6268 GB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001265/0.7738, allocations: 0.5076 MB / 0.6273 GB, free: 1.773 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.7739, allocations: 32 kB / 0.6273 GB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009414/0.7833, allocations: 10.44 MB / 0.6375 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.7834, allocations: 7.969 kB / 0.6375 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005582/0.7889, allocations: 3.569 MB / 0.641 GB, free: 2.969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.7901, allocations: 454.5 kB / 0.6414 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002393/0.7903, allocations: 32 kB / 0.6414 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009362/0.7913, allocations: 75.88 kB / 0.6415 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/0.7916, allocations: 121.1 kB / 0.6416 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-05/0.7917, allocations: 39.98 kB / 0.6417 GB, free: 2.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00223/0.7939, allocations: 1.258 MB / 0.6429 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7939, allocations: 0 / 0.6429 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002484/0.7964, allocations: 0.6212 MB / 0.6435 GB, free: 380 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.0005605/0.797, allocations: 368.7 kB / 0.6438 GB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.1712/0.9682, allocations: 2.388 MB / 0.6462 GB, free: 94.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9682, allocations: 0 / 0.6462 GB, free: 94.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.9703, allocations: 1.712 MB / 0.6479 GB, free: 94.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/0.973, allocations: 0.49 MB / 0.6483 GB, free: 94.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008888/0.9819, allocations: 7.12 MB / 0.6553 GB, free: 91.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.9837, allocations: 2.369 MB / 0.6576 GB, free: 90.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00169/0.9854, allocations: 418 kB / 0.658 GB, free: 90.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.9857, allocations: 128.3 kB / 0.6581 GB, free: 90.64 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.9857, allocations: 0 / 0.6581 GB, free: 90.64 MB / 410.7 MB Notification: Performance of Templates: time 0.05058/1.036, allocations: 31.55 MB / 0.6889 GB, free: 88.7 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches