Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_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.001397/0.001397, allocations: 201.2 kB / 18.11 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000777/0.000777, allocations: 96.52 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002114/0.0002116, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1848, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2811/0.4659, allocations: 121.6 MB / 0.5185 GB, free: 95.53 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4662, allocations: 92.7 kB / 0.5186 GB, free: 95.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.53/0.9962, allocations: 166.3 MB / 0.681 GB, free: 68.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.9963, allocations: 0 / 0.681 GB, free: 68.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002374/0.9965, allocations: 111.9 kB / 0.6811 GB, free: 68.26 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: 1051 * Number of variables: 1051 Notification: Performance of Generate backend data structure: time 0.01052/1.007, allocations: 4.37 MB / 0.6854 GB, free: 66.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/1.007, allocations: 10.91 kB / 0.6854 GB, free: 66.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/1.012, allocations: 0.9604 MB / 0.6863 GB, free: 66.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006836/1.019, allocations: 3.265 MB / 0.6895 GB, free: 65.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/1.019, allocations: 303.5 kB / 0.6898 GB, free: 65.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008185/1.02, allocations: 396.4 kB / 0.6902 GB, free: 65.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008515/1.029, allocations: 5.178 MB / 0.6952 GB, free: 65.36 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.835e-05/1.029, allocations: 0 / 0.6952 GB, free: 65.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003557/1.029, allocations: 170.1 kB / 0.6954 GB, free: 65.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/1.029, allocations: 171.6 kB / 0.6955 GB, free: 65.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006558/1.036, allocations: 4.22 MB / 0.6997 GB, free: 65.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02163/1.058, allocations: 16.97 MB / 0.7162 GB, free: 61.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00548/1.063, allocations: 8.686 MB / 0.7247 GB, free: 54.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/1.066, allocations: 1.903 MB / 0.7266 GB, free: 54.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007358/1.073, allocations: 5.696 MB / 0.7321 GB, free: 52.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/1.073, allocations: 47.59 kB / 0.7322 GB, free: 52.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=157): time 3.247e-06/1.073, allocations: 6.344 kB / 0.7322 GB, free: 52.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=160): time 0.01064/1.084, allocations: 6.321 MB / 0.7384 GB, free: 49.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/1.084, allocations: 74.78 kB / 0.7384 GB, free: 49.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002858/1.087, allocations: 2.259 MB / 0.7406 GB, free: 48.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002183/1.087, allocations: 56 kB / 0.7407 GB, free: 48.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008975/1.088, allocations: 1.846 MB / 0.7425 GB, free: 47.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004688/1.089, allocations: 0.5551 MB / 0.743 GB, free: 46.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/1.089, allocations: 43.16 kB / 0.7431 GB, free: 46.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/1.089, allocations: 390.8 kB / 0.7435 GB, free: 46.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/1.09, allocations: 0.8404 MB / 0.7443 GB, free: 46.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/1.092, allocations: 1.534 MB / 0.7458 GB, free: 45.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/1.094, allocations: 2.537 MB / 0.7483 GB, free: 43.39 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/1.094, allocations: 6.562 kB / 0.7483 GB, free: 43.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004165/1.099, allocations: 2.916 MB / 0.7511 GB, free: 42.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/1.099, allocations: 15.66 kB / 0.7511 GB, free: 42.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/1.099, allocations: 28.53 kB / 0.7511 GB, free: 42.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003706/1.099, allocations: 174.1 kB / 0.7513 GB, free: 42.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/1.101, allocations: 0.5282 MB / 0.7518 GB, free: 42.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/1.103, allocations: 2.268 MB / 0.754 GB, free: 40.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/1.105, allocations: 118.2 kB / 0.7542 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/1.105, allocations: 98.12 kB / 0.7543 GB, free: 40.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (262): * Single equations (assignments): 260 * 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.00202/1.107, allocations: 1.193 MB / 0.7554 GB, free: 39.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004605/1.107, allocations: 252.4 kB / 0.7557 GB, free: 39.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/1.111, allocations: 2.529 MB / 0.7581 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.111, allocations: 16.88 kB / 0.7581 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.111, allocations: 7.141 kB / 0.7581 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/1.111, allocations: 9.531 kB / 0.7582 GB, free: 38.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007721/1.119, allocations: 5.87 MB / 0.7639 GB, free: 35.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.119, allocations: 3.219 kB / 0.7639 GB, free: 35.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.12, allocations: 287.7 kB / 0.7642 GB, free: 35.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007652/1.121, allocations: 367.9 kB / 0.7645 GB, free: 35.66 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-05/1.121, allocations: 38.81 kB / 0.7646 GB, free: 35.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/1.126, allocations: 6.786 MB / 0.7712 GB, free: 30.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.126, allocations: 3.5 kB / 0.7712 GB, free: 30.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/1.131, allocations: 3.642 MB / 0.7747 GB, free: 28.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/1.132, allocations: 0.4937 MB / 0.7752 GB, free: 28.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/1.132, allocations: 38.19 kB / 0.7753 GB, free: 28.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.133, allocations: 91.34 kB / 0.7753 GB, free: 28.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002412/1.133, allocations: 119.8 kB / 0.7755 GB, free: 28.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-05/1.133, allocations: 43.92 kB / 0.7755 GB, free: 28.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001889/1.135, allocations: 1.526 MB / 0.777 GB, free: 27.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.135, allocations: 0 / 0.777 GB, free: 27.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001994/1.137, allocations: 0.7354 MB / 0.7777 GB, free: 27.32 MB / 442.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.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,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.0004923/1.138, allocations: 425.9 kB / 0.7781 GB, free: 27.15 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003016/1.141, allocations: 2.302 MB / 0.7804 GB, free: 26.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.141, allocations: 0 / 0.7804 GB, free: 26.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00184/1.143, allocations: 1.49 MB / 0.7818 GB, free: 25.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/1.146, allocations: 0.5824 MB / 0.7824 GB, free: 25.25 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/1.155, allocations: 8.371 MB / 0.7906 GB, free: 18.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/1.157, allocations: 2.67 MB / 0.7932 GB, free: 16.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001912/1.159, allocations: 0.5472 MB / 0.7937 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/1.159, allocations: 159.1 kB / 0.7939 GB, free: 15.64 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/1.159, allocations: 4 kB / 0.7939 GB, free: 15.63 MB / 442.7 MB Notification: Performance of Templates: time 0.04756/1.207, allocations: 34.37 MB / 0.8274 GB, free: 10.03 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/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_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches