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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001747/0.001747, allocations: 107.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001922/0.001922, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 59.66 kB / 306.3 MB, free: 1.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08098/0.0821, allocations: 50.53 MB / 356.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.1673/0.2494, allocations: 17.05 MB / 373.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009598/0.2591, allocations: 5.64 MB / 379.5 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/0.2612, allocations: 104.8 kB / 379.6 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.2641, allocations: 1.102 MB / 380.7 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.2683, allocations: 1.443 MB / 382.1 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.2706, allocations: 1.001 MB / 383.1 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007098/0.2777, allocations: 5.408 MB / 388.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004332/0.282, allocations: 3.665 MB / 392.2 MB, free: 3.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/0.2857, allocations: 1.854 MB / 394.1 MB, free: 2.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002826/0.2885, allocations: 2.449 MB / 396.5 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007049/0.2892, allocations: 369.1 kB / 396.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.2908, allocations: 0.614 MB / 397.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007419/0.2915, allocations: 1.153 MB / 398.7 MB, free: 0.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002387/0.2939, allocations: 2.373 MB / 401 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007821/0.3018, allocations: 7.884 MB / 408.9 MB, free: 8.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3018, allocations: 0 / 408.9 MB, free: 8.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3018, allocations: 0 / 408.9 MB, free: 8.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001898/0.302, allocations: 0 / 408.9 MB, free: 8.207 MB / 318.1 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.01359/0.3156, allocations: 5.41 MB / 414.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.3157, allocations: 8.031 kB / 414.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00533/0.321, allocations: 1.02 MB / 415.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005393/0.3264, allocations: 2.848 MB / 418.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.3267, allocations: 316.1 kB / 418.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005923/0.3273, allocations: 395.8 kB / 418.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008547/0.3358, allocations: 5.218 MB / 424.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.015e-05/0.3359, allocations: 0 / 424.1 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003538/0.3363, allocations: 164 kB / 424.3 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.3364, allocations: 176 kB / 424.4 MB, free: 8.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007394/0.3438, allocations: 4.462 MB / 428.9 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02345/0.3673, allocations: 16.93 MB / 445.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009032/0.3764, allocations: 8.699 MB / 454.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004149/0.3806, allocations: 2.003 MB / 456.5 MB, free: 6.973 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009512/0.3901, allocations: 5.797 MB / 462.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3902, allocations: 47.88 kB / 462.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 3.947e-06/0.3902, allocations: 0 / 462.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01259/0.4028, allocations: 6.315 MB / 468.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.4029, allocations: 76.59 kB / 468.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003839/0.4068, allocations: 2.339 MB / 471.1 MB, free: 7.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002315/0.407, allocations: 53.7 kB / 471.2 MB, free: 7.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001368/0.4084, allocations: 1.861 MB / 473 MB, free: 5.988 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005736/0.409, allocations: 0.5491 MB / 473.6 MB, free: 5.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006102/0.4096, allocations: 391.7 kB / 473.9 MB, free: 5.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.4097, allocations: 313.1 kB / 474.3 MB, free: 4.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.4112, allocations: 0.8553 MB / 475.1 MB, free: 3.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.4132, allocations: 1.571 MB / 476.7 MB, free: 1.988 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/0.4166, allocations: 2.586 MB / 479.3 MB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.4166, allocations: 12 kB / 479.3 MB, free: 15.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.004944/0.4216, allocations: 2.978 MB / 482.3 MB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.4216, allocations: 16 kB / 482.3 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/0.4216, allocations: 20 kB / 482.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/0.4221, allocations: 181.6 kB / 482.5 MB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.424, allocations: 0.5265 MB / 483 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/0.4263, allocations: 2.267 MB / 485.3 MB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.428, allocations: 111.9 kB / 485.4 MB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.4282, allocations: 96 kB / 485.5 MB, free: 8.707 MB / 398.1 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002031/0.4302, allocations: 1.204 MB / 486.7 MB, free: 7.492 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.4306, allocations: 248.9 kB / 486.9 MB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004242/0.4349, allocations: 2.535 MB / 489.4 MB, free: 4.656 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.4349, allocations: 16 kB / 489.5 MB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.4349, allocations: 8 kB / 489.5 MB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.4349, allocations: 7.969 kB / 489.5 MB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009445/0.4444, allocations: 5.932 MB / 495.4 MB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4444, allocations: 8.172 kB / 495.4 MB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.4457, allocations: 275.6 kB / 495.7 MB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009727/0.4467, allocations: 384.9 kB / 496.1 MB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.4468, allocations: 39.98 kB / 496.1 MB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006757/0.4536, allocations: 6.814 MB / 0.4911 GB, free: 6.684 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4536, allocations: 7.969 kB / 0.4911 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00579/0.4594, allocations: 3.672 MB / 0.4947 GB, free: 2.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.4606, allocations: 0.498 MB / 0.4952 GB, free: 2.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/0.461, allocations: 35.98 kB / 0.4952 GB, free: 2.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.4621, allocations: 75.94 kB / 0.4953 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/0.4625, allocations: 121.1 kB / 0.4954 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.596e-05/0.4626, allocations: 47.92 kB / 0.4955 GB, free: 2.133 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002357/0.4649, allocations: 1.589 MB / 0.497 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4649, allocations: 0 / 0.497 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002819/0.4678, allocations: 0.6875 MB / 0.4977 GB, free: 15.84 MB / 430.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,8,100.0%), (1,8,100.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005037/0.4683, allocations: 187 kB / 0.4979 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003997/0.4723, allocations: 2.312 MB / 0.5001 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4723, allocations: 0 / 0.5001 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.4747, allocations: 1.481 MB / 0.5016 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/0.4778, allocations: 0.5788 MB / 0.5021 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.4916, allocations: 8.682 MB / 0.5106 GB, free: 2.504 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002439/0.4941, allocations: 2.681 MB / 0.5132 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002014/0.4961, allocations: 0.5435 MB / 0.5138 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.4966, allocations: 159.4 kB / 0.5139 GB, free: 15.1 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.4966, allocations: 4 kB / 0.5139 GB, free: 15.09 MB / 446.1 MB Notification: Performance of Templates: time 0.2132/0.7098, allocations: 31.8 MB / 0.545 GB, free: 135.1 MB / 446.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches