Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=300000,variableFilter="time|imc.airGap.V_mrr.im|imc.airGap.V_mrr.re|imc.airGap.V_msr.im|imc.airGap.V_msr.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.strayReluctance.port_p.Phi.im|imc.stator.strayReluctance.port_p.Phi.re|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001431, allocations: 183.2 kB / 18.04 MB, free: 3.785 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.382/1.382, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007525/0.0007524, allocations: 85.55 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002984/0.0002984, allocations: 19.98 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2395, allocations: 47.57 MB / 377.1 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/0.5538, allocations: 147.2 MB / 0.5119 GB, free: 108.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.5542, allocations: 104.1 kB / 0.512 GB, free: 108.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.079/1.633, allocations: 347.6 MB / 0.8515 GB, free: 36.15 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.456e-06/1.634, allocations: 0 / 0.8515 GB, free: 36.15 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009949/1.635, allocations: 256.8 kB / 0.8518 GB, free: 36.12 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3009 * Number of variables: 3009 Notification: Performance of Generate backend data structure: time 0.03731/1.672, allocations: 10.83 MB / 0.8623 GB, free: 32.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.672, allocations: 10.91 kB / 0.8623 GB, free: 32.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02919/1.701, allocations: 5.404 MB / 0.8676 GB, free: 31.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/1.721, allocations: 8.713 MB / 0.8761 GB, free: 30.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009353/1.722, allocations: 0.7937 MB / 0.8769 GB, free: 30.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004803/1.727, allocations: 1.04 MB / 0.8779 GB, free: 30.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04598/1.773, allocations: 18.03 MB / 0.8955 GB, free: 29.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005892/1.774, allocations: 22.33 kB / 0.8955 GB, free: 29.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004203/1.778, allocations: 455.2 kB / 0.896 GB, free: 29.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008064/1.779, allocations: 0.7326 MB / 0.8967 GB, free: 29.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03862/1.818, allocations: 16.73 MB / 0.913 GB, free: 25.91 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1068/1.924, allocations: 58.36 MB / 0.97 GB, free: 1.699 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2685/2.193, allocations: 24.25 MB / 0.9937 GB, free: 35.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01191/2.205, allocations: 7.048 MB / 1.001 GB, free: 35.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03873/2.244, allocations: 21.92 MB / 1.022 GB, free: 34.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.871e-05/2.244, allocations: 95.64 kB / 1.022 GB, free: 34.45 MB / 458.7 MB Notification: Performance of pre-optimization done (n=664): time 1.234e-05/2.244, allocations: 2.594 kB / 1.022 GB, free: 34.45 MB / 458.7 MB Notification: Performance of matching and sorting (n=689): time 0.08068/2.325, allocations: 36.71 MB / 1.058 GB, free: 27.73 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/2.325, allocations: 137.3 kB / 1.058 GB, free: 27.63 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007259/2.332, allocations: 4.055 MB / 1.062 GB, free: 26.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001677/2.334, allocations: 124.5 kB / 1.062 GB, free: 26.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002768/2.337, allocations: 4.227 MB / 1.066 GB, free: 22.84 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003164/2.34, allocations: 2.286 MB / 1.069 GB, free: 21.06 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007946/2.341, allocations: 133.2 kB / 1.069 GB, free: 20.96 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005362/2.341, allocations: 0.5975 MB / 1.069 GB, free: 20.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006755/2.348, allocations: 4.536 MB / 1.074 GB, free: 18.62 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008956/2.357, allocations: 6.122 MB / 1.08 GB, free: 14.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01611/2.373, allocations: 11.24 MB / 1.091 GB, free: 8.598 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.244e-05/2.373, allocations: 16.72 kB / 1.091 GB, free: 8.594 MB / 458.7 MB Notification: Performance of matching and sorting (n=933) (initialization): time 0.02574/2.399, allocations: 13.82 MB / 1.104 GB, free: 2.812 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/2.399, allocations: 23.31 kB / 1.104 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.43e-05/2.399, allocations: 42.19 kB / 1.104 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007682/2.407, allocations: 3.995 MB / 1.108 GB, free: 1.598 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005508/2.412, allocations: 1.305 MB / 1.109 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01984/2.432, allocations: 16.79 MB / 1.126 GB, free: 2.793 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006506/2.439, allocations: 357.4 kB / 1.126 GB, free: 2.523 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/2.44, allocations: 295.1 kB / 1.126 GB, free: 2.254 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * 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 (669): * Single equations (assignments): 630 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(7,61.2%) 28,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of prepare postOptimizeDAE: time 0.01404/2.455, allocations: 4.186 MB / 1.13 GB, free: 15.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001831/2.456, allocations: 0.5308 MB / 1.131 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02598/2.482, allocations: 13.31 MB / 1.144 GB, free: 3.652 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000187/2.483, allocations: 154.1 kB / 1.144 GB, free: 3.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.721e-05/2.483, allocations: 8 kB / 1.144 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001228/2.483, allocations: 28.92 kB / 1.144 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3065/2.789, allocations: 26.74 MB / 1.17 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.331e-05/2.789, allocations: 6.625 kB / 1.17 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004175/2.794, allocations: 0.8621 MB / 1.171 GB, free: 74.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007619/2.801, allocations: 3.957 MB / 1.175 GB, free: 74.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001265/2.802, allocations: 152.9 kB / 1.175 GB, free: 74.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02822/2.831, allocations: 20.74 MB / 1.195 GB, free: 64.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/2.831, allocations: 5.406 kB / 1.195 GB, free: 64.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04194/2.873, allocations: 19.65 MB / 1.215 GB, free: 63.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005262/2.878, allocations: 1.647 MB / 1.216 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003521/2.882, allocations: 108.1 kB / 1.216 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005918/2.888, allocations: 315.4 kB / 1.217 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002337/2.89, allocations: 0.5011 MB / 1.217 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001463/2.891, allocations: 192.7 kB / 1.217 GB, free: 63.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006017/2.897, allocations: 2.737 MB / 1.22 GB, free: 63.05 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.897, allocations: 0 / 1.22 GB, free: 63.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01036/2.908, allocations: 1.982 MB / 1.222 GB, free: 62.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.inertiaRotor.phi,imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,imc.inertiaRotor.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.strayReluctance.Phi.re,imc.stator.strayReluctance.Phi.im,imc.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 (447): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,12 76} Notification: Performance of Backend phase and start with SimCode phase: time 0.00214/2.91, allocations: 0.5605 MB / 1.222 GB, free: 62.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0219/2.932, allocations: 11.75 MB / 1.234 GB, free: 57.87 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.465e-05/2.932, allocations: 7.656 kB / 1.234 GB, free: 57.87 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01272/2.945, allocations: 6.658 MB / 1.24 GB, free: 54.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01317/2.958, allocations: 1.251 MB / 1.242 GB, free: 54.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05281/3.011, allocations: 26.23 MB / 1.267 GB, free: 40.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01476/3.026, allocations: 6.941 MB / 1.274 GB, free: 38.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008042/3.034, allocations: 1.658 MB / 1.276 GB, free: 37.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002211/3.036, allocations: 382.5 kB / 1.276 GB, free: 37.35 MB / 490.7 MB Notification: Performance of SimCode: time 2.264e-06/3.036, allocations: 0 / 1.276 GB, free: 37.35 MB / 490.7 MB Notification: Performance of Templates: time 0.4523/3.488, allocations: 121.7 MB / 1.395 GB, free: 67.07 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches