Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_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.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|smee.excitation.electroMagneticConverter.Phi.re|smee.inertiaRotor.phi|smee.inertiaRotor.w|smee.is.1.|smee.is.2.|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smee.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001219/0.001219, allocations: 195.2 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 226.6 MB / 244.7 MB, free: 6.445 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007267/0.0007267, allocations: 95.62 kB / 296.8 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002297/0.0002297, allocations: 8 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2948, allocations: 51.29 MB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.02045/0.3153, allocations: 15.22 MB / 423.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01417/0.3296, allocations: 5.261 MB / 428.5 MB, free: 7.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004246/0.3339, allocations: 99.62 kB / 428.6 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004943/0.3389, allocations: 0.9594 MB / 429.6 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007285/0.3462, allocations: 1.313 MB / 430.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.3501, allocations: 0.742 MB / 431.6 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009662/0.3598, allocations: 5.085 MB / 436.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009471/0.3693, allocations: 3.643 MB / 440.4 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003328/0.3727, allocations: 1.576 MB / 442 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00366/0.3764, allocations: 2.031 MB / 444 MB, free: 7.613 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00115/0.3776, allocations: 255.9 kB / 444.2 MB, free: 7.363 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.38, allocations: 0.4919 MB / 444.7 MB, free: 6.871 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.3815, allocations: 0.9691 MB / 445.7 MB, free: 5.898 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003642/0.3852, allocations: 2.093 MB / 447.8 MB, free: 3.789 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007645/0.3928, allocations: 6.626 MB / 454.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3929, allocations: 0 / 454.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3929, allocations: 0 / 454.4 MB, free: 13.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003294/0.3932, allocations: 4 kB / 454.4 MB, free: 13.14 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01301/0.4063, allocations: 4.583 MB / 459 MB, free: 8.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4063, allocations: 8.031 kB / 459 MB, free: 8.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006356/0.4127, allocations: 1.03 MB / 460 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006362/0.4191, allocations: 2.839 MB / 462.9 MB, free: 4.539 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.4195, allocations: 312.2 kB / 463.2 MB, free: 4.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/0.4208, allocations: 399.9 kB / 463.6 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01212/0.4329, allocations: 5.197 MB / 468.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001351/0.4331, allocations: 11.94 kB / 468.8 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007117/0.4338, allocations: 160 kB / 468.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.434, allocations: 176 kB / 469.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009211/0.4432, allocations: 4.462 MB / 473.6 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02971/0.4729, allocations: 17.03 MB / 490.6 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007825/0.4808, allocations: 8.703 MB / 499.3 MB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003656/0.4845, allocations: 2.031 MB / 0.4896 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009579/0.4941, allocations: 5.831 MB / 0.4953 GB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.4942, allocations: 43.88 kB / 0.4953 GB, free: 6.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=157): time 3.516e-06/0.4942, allocations: 0 / 0.4953 GB, free: 6.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=160): time 0.1806/0.6748, allocations: 6.388 MB / 0.5016 GB, free: 88.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.6749, allocations: 68.12 kB / 0.5016 GB, free: 88.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004739/0.6797, allocations: 2.312 MB / 0.5039 GB, free: 87.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002969/0.68, allocations: 53.67 kB / 0.5039 GB, free: 87.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00121/0.6812, allocations: 1.848 MB / 0.5057 GB, free: 87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/0.6818, allocations: 0.546 MB / 0.5063 GB, free: 86.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.682, allocations: 44.66 kB / 0.5063 GB, free: 86.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.6822, allocations: 386.9 kB / 0.5067 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.6838, allocations: 0.8713 MB / 0.5075 GB, free: 85.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.6855, allocations: 1.581 MB / 0.5091 GB, free: 84.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003035/0.6886, allocations: 2.609 MB / 0.5116 GB, free: 82.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.6886, allocations: 7.906 kB / 0.5116 GB, free: 82.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004647/0.6932, allocations: 2.994 MB / 0.5146 GB, free: 81.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.6933, allocations: 15.78 kB / 0.5146 GB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.6933, allocations: 19.72 kB / 0.5146 GB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/0.6937, allocations: 178.9 kB / 0.5148 GB, free: 81.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.6956, allocations: 0.5428 MB / 0.5153 GB, free: 81.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001769/0.6974, allocations: 2.263 MB / 0.5175 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.6991, allocations: 123.8 kB / 0.5176 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.6992, allocations: 99.94 kB / 0.5177 GB, free: 79.65 MB / 378.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: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 264 * 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: 1 * 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: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00182/0.701, allocations: 1.194 MB / 0.5189 GB, free: 78.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.7014, allocations: 247.2 kB / 0.5191 GB, free: 78.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003749/0.7051, allocations: 2.559 MB / 0.5216 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.7052, allocations: 15.48 kB / 0.5216 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.7052, allocations: 11.59 kB / 0.5216 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.7052, allocations: 7.781 kB / 0.5216 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007704/0.7129, allocations: 5.963 MB / 0.5275 GB, free: 73.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.7129, allocations: 0 / 0.5275 GB, free: 73.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.7141, allocations: 295.8 kB / 0.5278 GB, free: 73.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008794/0.715, allocations: 377.2 kB / 0.5281 GB, free: 73.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.601e-05/0.7151, allocations: 40.86 kB / 0.5282 GB, free: 73.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005194/0.7203, allocations: 6.822 MB / 0.5348 GB, free: 66.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7203, allocations: 7.969 kB / 0.5348 GB, free: 66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004833/0.7251, allocations: 3.696 MB / 0.5384 GB, free: 62.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009504/0.7261, allocations: 0.5058 MB / 0.5389 GB, free: 61.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/0.7264, allocations: 36 kB / 0.539 GB, free: 61.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7275, allocations: 95.86 kB / 0.539 GB, free: 61.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.7277, allocations: 117.1 kB / 0.5392 GB, free: 61.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.7278, allocations: 47.98 kB / 0.5392 GB, free: 61.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001926/0.7298, allocations: 1.561 MB / 0.5407 GB, free: 59.83 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7298, allocations: 0 / 0.5407 GB, free: 59.83 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001958/0.7317, allocations: 0.6867 MB / 0.5414 GB, free: 59.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smee.excitation.electroMagneticConverter.Phi.re,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 126 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003163/0.732, allocations: 179.5 kB / 0.5416 GB, free: 58.97 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003196/0.7353, allocations: 2.341 MB / 0.5439 GB, free: 56.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.7353, allocations: 4 kB / 0.5439 GB, free: 56.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.7372, allocations: 1.489 MB / 0.5453 GB, free: 55.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/0.7401, allocations: 0.5816 MB / 0.5459 GB, free: 54.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.7503, allocations: 8.36 MB / 0.554 GB, free: 46.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/0.7521, allocations: 2.61 MB / 0.5566 GB, free: 43.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007683/0.7529, allocations: 183.4 kB / 0.5568 GB, free: 43.29 MB / 378.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7529, allocations: 1.641 kB / 0.5568 GB, free: 43.29 MB / 378.7 MB Notification: Performance of Templates: time 0.09285/0.8458, allocations: 95.18 MB / 0.6497 GB, free: 12.21 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches