Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_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.port_p.V_m.im|imc.stator.port_p.V_m.re|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001292, allocations: 195.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008647/0.0008649, allocations: 90.73 kB / 292.1 MB, free: 5.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.257e-05, allocations: 8 kB / 350.6 MB, free: 2.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 51.49 MB / 402.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4016/0.5344, allocations: 148.3 MB / 0.5375 GB, free: 6.098 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5347, allocations: 101.9 kB / 0.5376 GB, free: 6.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188/1.723, allocations: 365.5 MB / 0.8945 GB, free: 17.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.723, allocations: 0 / 0.8945 GB, free: 17.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0008218/1.724, allocations: 247.7 kB / 0.8947 GB, free: 17.21 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2952 * Number of variables: 2952 Notification: Performance of Generate backend data structure: time 0.03813/1.762, allocations: 10.24 MB / 0.9047 GB, free: 6.871 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.762, allocations: 11.97 kB / 0.9048 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02989/1.792, allocations: 4.771 MB / 0.9094 GB, free: 2.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3508/2.143, allocations: 9.492 MB / 0.9187 GB, free: 26.2 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/2.144, allocations: 0.7717 MB / 0.9194 GB, free: 26.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004402/2.148, allocations: 1.024 MB / 0.9204 GB, free: 26.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04315/2.191, allocations: 16.79 MB / 0.9368 GB, free: 24.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000719/2.192, allocations: 13.25 kB / 0.9368 GB, free: 24.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003887/2.196, allocations: 445.8 kB / 0.9373 GB, free: 24.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008892/2.197, allocations: 0.7508 MB / 0.938 GB, free: 24.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03755/2.235, allocations: 15.02 MB / 0.9527 GB, free: 24.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1128/2.347, allocations: 57.07 MB / 1.008 GB, free: 2.172 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02866/2.376, allocations: 31.22 MB / 1.039 GB, free: 6.223 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008796/2.385, allocations: 4.255 MB / 1.043 GB, free: 4.582 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02681/2.412, allocations: 10.76 MB / 1.054 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.399e-05/2.412, allocations: 78.56 kB / 1.054 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=396): time 7.825e-06/2.412, allocations: 0 / 1.054 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=421): time 0.03834/2.45, allocations: 16 MB / 1.069 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/2.45, allocations: 132.3 kB / 1.069 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01285/2.463, allocations: 4.084 MB / 1.073 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001155/2.465, allocations: 93.7 kB / 1.073 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004564/2.469, allocations: 4.677 MB / 1.078 GB, free: 472 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002642/2.472, allocations: 1.444 MB / 1.079 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/2.473, allocations: 116 kB / 1.08 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007785/2.474, allocations: 0.5369 MB / 1.08 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005743/2.48, allocations: 2.807 MB / 1.083 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007363/2.487, allocations: 4.822 MB / 1.088 GB, free: 6.719 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006944/2.494, allocations: 3.878 MB / 1.091 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.619e-05/2.494, allocations: 19.78 kB / 1.091 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=762) (initialization): time 0.3634/2.858, allocations: 9.533 MB / 1.101 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.904e-05/2.858, allocations: 38.69 kB / 1.101 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/2.858, allocations: 63.25 kB / 1.101 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004465/2.862, allocations: 1.67 MB / 1.102 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005399/2.868, allocations: 1.307 MB / 1.104 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/2.887, allocations: 16.39 MB / 1.12 GB, free: 76.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005248/2.892, allocations: 345.9 kB / 1.12 GB, free: 76.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009601/2.893, allocations: 277 kB / 1.12 GB, free: 76.92 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 296 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (669): * Single equations (assignments): 665 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(8,56.2%) 27,(1,100.0%) 1,(14,40.3%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008919/2.894, allocations: 469.8 kB / 1.121 GB, free: 76.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000997/2.895, allocations: 499.9 kB / 1.121 GB, free: 76.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/2.907, allocations: 7.635 MB / 1.129 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.753e-05/2.907, allocations: 43.91 kB / 1.129 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.464e-05/2.908, allocations: 17.38 kB / 1.129 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.916e-05/2.908, allocations: 20.3 kB / 1.129 GB, free: 76.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02895/2.937, allocations: 17.29 MB / 1.146 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.097e-05/2.937, allocations: 5.938 kB / 1.146 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003397/2.94, allocations: 0.723 MB / 1.146 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004828/2.945, allocations: 1.556 MB / 1.148 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000701/2.946, allocations: 101.5 kB / 1.148 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01935/2.965, allocations: 19.43 MB / 1.167 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/2.965, allocations: 11.5 kB / 1.167 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01767/2.983, allocations: 11.91 MB / 1.179 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003091/2.986, allocations: 1.151 MB / 1.18 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/2.987, allocations: 85.16 kB / 1.18 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/2.99, allocations: 251.6 kB / 1.18 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007056/2.99, allocations: 323.9 kB / 1.18 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002924/2.991, allocations: 127 kB / 1.18 GB, free: 63.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005164/2.996, allocations: 3.075 MB / 1.183 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/2.996, allocations: 0 / 1.183 GB, free: 63.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008805/3.005, allocations: 1.927 MB / 1.185 GB, free: 62.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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.zeroInductor.i0,imc.stator.stray.Phi.re,imc.stator.stray.Phi.im,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (362): * Single equations (assignments): 355 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(14,39.8%) 44,(2,100.0%) 12,(1,100.0%) 5,(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.001643/3.006, allocations: 0.6871 MB / 1.186 GB, free: 62.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01352/3.02, allocations: 7.863 MB / 1.194 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/3.02, allocations: 3.094 kB / 1.194 GB, free: 59.55 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008193/3.028, allocations: 4.566 MB / 1.198 GB, free: 57.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006874/3.035, allocations: 1.187 MB / 1.199 GB, free: 56.94 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03943/3.075, allocations: 16.59 MB / 1.215 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01285/3.087, allocations: 6.958 MB / 1.222 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007834/3.095, allocations: 1.856 MB / 1.224 GB, free: 47.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/3.097, allocations: 379.8 kB / 1.224 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of SimCode: time 1.432e-06/3.097, allocations: 1.312 kB / 1.224 GB, free: 47.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.4669/3.564, allocations: 83.1 MB / 1.306 GB, free: 66.64 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches