Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 226.5 MB / 245.4 MB, free: 6.441 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007554/0.0007556, allocations: 95.56 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002126/0.0002126, allocations: 4 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2051, allocations: 51.3 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2837/0.4889, allocations: 124.6 MB / 0.5215 GB, free: 92.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.4892, allocations: 98.38 kB / 0.5216 GB, free: 92.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2585/0.7477, allocations: 120.7 MB / 0.6395 GB, free: 3.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.7478, allocations: 0 / 0.6395 GB, free: 3.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005653/0.7483, allocations: 131.8 kB / 0.6396 GB, free: 3.199 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01679/0.7651, allocations: 5.424 MB / 0.6449 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.7652, allocations: 8.875 kB / 0.6449 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006019/0.7712, allocations: 1.032 MB / 0.6459 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/0.7822, allocations: 4.056 MB / 0.6499 GB, free: 8.512 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004791/0.7828, allocations: 386.7 kB / 0.6503 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.7848, allocations: 0.5081 MB / 0.6508 GB, free: 7.625 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.8024, allocations: 6.87 MB / 0.6575 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002765/0.8027, allocations: 19.77 kB / 0.6575 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/0.8042, allocations: 216 kB / 0.6577 GB, free: 324 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002451/0.8044, allocations: 230.2 kB / 0.6579 GB, free: 92 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01361/0.8181, allocations: 5.592 MB / 0.6634 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2528/1.071, allocations: 21.54 MB / 0.6844 GB, free: 51.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/1.077, allocations: 8.736 MB / 0.6929 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002926/1.08, allocations: 2.269 MB / 0.6952 GB, free: 46.08 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009301/1.089, allocations: 6.455 MB / 0.7015 GB, free: 45.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.09, allocations: 66.08 kB / 0.7015 GB, free: 45.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=222): time 3.948e-06/1.09, allocations: 0 / 0.7015 GB, free: 45.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=241): time 0.02008/1.11, allocations: 11.58 MB / 0.7128 GB, free: 42.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/1.11, allocations: 77.72 kB / 0.7129 GB, free: 42.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/1.113, allocations: 2.953 MB / 0.7158 GB, free: 42.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001836/1.113, allocations: 67.14 kB / 0.7159 GB, free: 42.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/1.115, allocations: 2.306 MB / 0.7181 GB, free: 41.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004922/1.115, allocations: 0.8161 MB / 0.7189 GB, free: 41.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/1.115, allocations: 56.59 kB / 0.719 GB, free: 41.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/1.115, allocations: 422.6 kB / 0.7194 GB, free: 41.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/1.117, allocations: 1.359 MB / 0.7207 GB, free: 41.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/1.119, allocations: 2.117 MB / 0.7228 GB, free: 40.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004032/1.123, allocations: 3.673 MB / 0.7263 GB, free: 39.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/1.123, allocations: 7.219 kB / 0.7263 GB, free: 39.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.006644/1.13, allocations: 4.65 MB / 0.7309 GB, free: 38.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/1.13, allocations: 18.5 kB / 0.7309 GB, free: 38.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.891e-05/1.13, allocations: 22.66 kB / 0.7309 GB, free: 38.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/1.132, allocations: 0.7552 MB / 0.7317 GB, free: 38.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.134, allocations: 0.646 MB / 0.7323 GB, free: 38.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008917/1.143, allocations: 13.38 MB / 0.7454 GB, free: 29.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/1.146, allocations: 161.7 kB / 0.7455 GB, free: 29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/1.146, allocations: 120.3 kB / 0.7456 GB, free: 28.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0029/1.149, allocations: 1.598 MB / 0.7472 GB, free: 28.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006836/1.15, allocations: 325.2 kB / 0.7475 GB, free: 28 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006235/1.156, allocations: 4.232 MB / 0.7516 GB, free: 26.17 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.156, allocations: 27.58 kB / 0.7517 GB, free: 26.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/1.156, allocations: 10.75 kB / 0.7517 GB, free: 26.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/1.156, allocations: 14.39 kB / 0.7517 GB, free: 26.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0126/1.169, allocations: 9.167 MB / 0.7606 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/1.169, allocations: 3.719 kB / 0.7606 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.17, allocations: 392.5 kB / 0.761 GB, free: 22.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/1.172, allocations: 0.9332 MB / 0.7619 GB, free: 21.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/1.173, allocations: 65.14 kB / 0.762 GB, free: 21.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/1.184, allocations: 16.56 MB / 0.7782 GB, free: 8.488 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.184, allocations: 10.56 kB / 0.7782 GB, free: 8.488 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007993/1.192, allocations: 6.113 MB / 0.7841 GB, free: 5.723 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.194, allocations: 0.6962 MB / 0.7848 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003999/1.194, allocations: 65.91 kB / 0.7849 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.196, allocations: 144.5 kB / 0.785 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004352/1.196, allocations: 201.2 kB / 0.7852 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.196, allocations: 73 kB / 0.7853 GB, free: 5.164 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00261/1.199, allocations: 2.003 MB / 0.7872 GB, free: 4.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.199, allocations: 1.094 kB / 0.7872 GB, free: 4.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003136/1.202, allocations: 1.029 MB / 0.7882 GB, free: 4.305 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006846/1.203, allocations: 460.5 kB / 0.7887 GB, free: 4.129 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005584/1.208, allocations: 4.594 MB / 0.7932 GB, free: 1.805 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.208, allocations: 4.531 kB / 0.7932 GB, free: 1.805 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003505/1.212, allocations: 3.062 MB / 0.7962 GB, free: 44 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00575/1.218, allocations: 0.9145 MB / 0.7971 GB, free: 0 / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.235, allocations: 11.87 MB / 0.8086 GB, free: 6.754 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00319/1.238, allocations: 3.442 MB / 0.812 GB, free: 4.086 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002902/1.241, allocations: 0.779 MB / 0.8128 GB, free: 3.543 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005834/1.241, allocations: 214.7 kB / 0.813 GB, free: 3.344 MB / 458.7 MB Notification: Performance of SimCode: time 7.12e-07/1.241, allocations: 0 / 0.813 GB, free: 3.344 MB / 458.7 MB Notification: Performance of Templates: time 0.2838/1.525, allocations: 51.68 MB / 0.8634 GB, free: 72.25 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches