Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|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.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001384/0.001384, allocations: 180.4 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.3 MB / 241.4 MB, free: 9.855 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007299/0.0007299, allocations: 90.17 kB / 292.6 MB, free: 10.53 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000278/0.000278, allocations: 11.98 kB / 352.4 MB, free: 14.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.191, allocations: 50.4 MB / 402.8 MB, free: 32.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/0.4767, allocations: 119.6 MB / 0.5101 GB, free: 101.4 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.477, allocations: 99.47 kB / 0.5102 GB, free: 101.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2739/0.7509, allocations: 133.1 MB / 0.6403 GB, free: 4.125 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7509, allocations: 0 / 0.6403 GB, free: 4.125 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004966/0.7515, allocations: 131.8 kB / 0.6404 GB, free: 3.996 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01467/0.7661, allocations: 5.235 MB / 0.6455 GB, free: 14.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7662, allocations: 8.031 kB / 0.6455 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/0.7709, allocations: 0.9779 MB / 0.6465 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007944/0.7789, allocations: 3.911 MB / 0.6503 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.7792, allocations: 362.1 kB / 0.6506 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006872/0.7799, allocations: 488.2 kB / 0.6511 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.7911, allocations: 6.759 MB / 0.6577 GB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.925e-05/0.7912, allocations: 7.938 kB / 0.6577 GB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004457/0.7917, allocations: 204 kB / 0.6579 GB, free: 1.711 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002012/0.7919, allocations: 237.8 kB / 0.6581 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1982/0.9901, allocations: 5.581 MB / 0.6636 GB, free: 43.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/1.016, allocations: 21.01 MB / 0.6841 GB, free: 40.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007189/1.023, allocations: 9.944 MB / 0.6938 GB, free: 33.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003075/1.026, allocations: 2.484 MB / 0.6962 GB, free: 33.83 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009208/1.036, allocations: 6.535 MB / 0.7026 GB, free: 33.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.036, allocations: 65.28 kB / 0.7027 GB, free: 33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=219): time 3.466e-06/1.036, allocations: 2.719 kB / 0.7027 GB, free: 33 MB / 426.7 MB Notification: Performance of matching and sorting (n=226): time 0.01486/1.051, allocations: 9.834 MB / 0.7123 GB, free: 30.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/1.051, allocations: 77.69 kB / 0.7123 GB, free: 30.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/1.054, allocations: 2.959 MB / 0.7152 GB, free: 30.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/1.054, allocations: 67.12 kB / 0.7153 GB, free: 30.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/1.055, allocations: 2.161 MB / 0.7174 GB, free: 28.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/1.056, allocations: 0.7624 MB / 0.7182 GB, free: 28.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/1.056, allocations: 47.62 kB / 0.7182 GB, free: 28.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/1.056, allocations: 406.9 kB / 0.7186 GB, free: 28.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/1.058, allocations: 1.275 MB / 0.7198 GB, free: 27.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/1.059, allocations: 1.854 MB / 0.7216 GB, free: 26.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/1.063, allocations: 3.261 MB / 0.7248 GB, free: 24.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/1.063, allocations: 9.531 kB / 0.7248 GB, free: 24.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=321) (initialization): time 0.005369/1.068, allocations: 4.175 MB / 0.7289 GB, free: 22.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.068, allocations: 15.78 kB / 0.7289 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.069, allocations: 18.94 kB / 0.7289 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/1.07, allocations: 0.6496 MB / 0.7296 GB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/1.072, allocations: 0.5424 MB / 0.7301 GB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007832/1.08, allocations: 10.04 MB / 0.7399 GB, free: 15.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/1.081, allocations: 108.5 kB / 0.74 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/1.082, allocations: 99.09 kB / 0.7401 GB, free: 15.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (271): * Single equations (assignments): 266 * 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: 4 * 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: 4 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002494/1.084, allocations: 1.608 MB / 0.7417 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003839/1.084, allocations: 323.6 kB / 0.742 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005308/1.09, allocations: 3.904 MB / 0.7458 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.09, allocations: 21.72 kB / 0.7458 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.09, allocations: 12.22 kB / 0.7458 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/1.09, allocations: 10.97 kB / 0.7459 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/1.101, allocations: 8.547 MB / 0.7542 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.101, allocations: 4.438 kB / 0.7542 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.103, allocations: 343 kB / 0.7545 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/1.104, allocations: 0.8189 MB / 0.7553 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001338/1.105, allocations: 59.95 kB / 0.7554 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01215/1.117, allocations: 14.43 MB / 0.7695 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.117, allocations: 3.688 kB / 0.7695 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008208/1.125, allocations: 5.69 MB / 0.775 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/1.126, allocations: 0.6935 MB / 0.7757 GB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003843/1.127, allocations: 53.81 kB / 0.7758 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/1.128, allocations: 126.6 kB / 0.7759 GB, free: 10.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003874/1.129, allocations: 187.1 kB / 0.7761 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/1.129, allocations: 68.47 kB / 0.7761 GB, free: 10.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002921/1.132, allocations: 2.032 MB / 0.7781 GB, free: 9.375 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.3e-07/1.132, allocations: 0 / 0.7781 GB, free: 9.375 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002805/1.134, allocations: 0.9862 MB / 0.7791 GB, free: 9.273 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 150 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006333/1.135, allocations: 458.7 kB / 0.7795 GB, free: 9.133 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005287/1.14, allocations: 3.872 MB / 0.7833 GB, free: 7.059 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.14, allocations: 0 / 0.7833 GB, free: 7.059 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003672/1.144, allocations: 2.64 MB / 0.7859 GB, free: 4.684 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00397/1.148, allocations: 0.8783 MB / 0.7867 GB, free: 4.016 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/1.164, allocations: 11.17 MB / 0.7976 GB, free: 9.879 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003229/1.167, allocations: 3.43 MB / 0.801 GB, free: 7.203 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002397/1.17, allocations: 0.7391 MB / 0.8017 GB, free: 6.688 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/1.17, allocations: 191.1 kB / 0.8019 GB, free: 6.504 MB / 458.7 MB Notification: Performance of SimCode: time 8.02e-07/1.17, allocations: 0 / 0.8019 GB, free: 6.504 MB / 458.7 MB Notification: Performance of Templates: time 0.2695/1.44, allocations: 51.67 MB / 0.8524 GB, free: 69.98 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches