Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 109.6 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 241.8 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 53.06 kB / 300.6 MB, free: 6.297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.109, allocations: 49.44 MB / 350.1 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01832/0.1274, allocations: 16.44 MB / 366.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.207/0.3344, allocations: 5.351 MB / 371.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003873/0.3383, allocations: 97.25 kB / 372 MB, free: 9.902 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004343/0.3427, allocations: 1.09 MB / 373 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006794/0.3496, allocations: 1.461 MB / 374.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.3526, allocations: 0.9529 MB / 375.5 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009287/0.3619, allocations: 5.293 MB / 380.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005785/0.3677, allocations: 3.665 MB / 384.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00439/0.3721, allocations: 1.844 MB / 386.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005555/0.3777, allocations: 2.438 MB / 388.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001594/0.3793, allocations: 368.5 kB / 389.1 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.3823, allocations: 0.5904 MB / 389.7 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.3835, allocations: 1.15 MB / 390.8 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004403/0.388, allocations: 2.364 MB / 393.2 MB, free: 3.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006456/0.3944, allocations: 6.79 MB / 400 MB, free: 14.85 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3945, allocations: 4 kB / 400 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3945, allocations: 0 / 400 MB, free: 14.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002216/0.3947, allocations: 0 / 400 MB, free: 14.84 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.01538/0.4101, allocations: 5.362 MB / 405.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.4102, allocations: 8.031 kB / 405.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005568/0.4157, allocations: 0.9975 MB / 406.3 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006971/0.4227, allocations: 2.809 MB / 409.1 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003518/0.4231, allocations: 316 kB / 409.4 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/0.425, allocations: 399.8 kB / 409.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.4423, allocations: 5.216 MB / 415.1 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.4425, allocations: 0 / 415.1 MB, free: 340 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/0.4435, allocations: 166.9 kB / 415.2 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001915/0.4437, allocations: 172 kB / 415.4 MB, free: 0 / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.454, allocations: 4.462 MB / 419.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03099/0.485, allocations: 16.83 MB / 436.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007525/0.4925, allocations: 8.426 MB / 445.1 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/0.4956, allocations: 1.707 MB / 446.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00896/0.5046, allocations: 5.009 MB / 451.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.5047, allocations: 47.88 kB / 451.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=157): time 3.466e-06/0.5047, allocations: 0 / 451.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=160): time 0.01287/0.5176, allocations: 6.151 MB / 458 MB, free: 3.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.5177, allocations: 68.72 kB / 458.1 MB, free: 3.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00434/0.522, allocations: 2.306 MB / 460.4 MB, free: 1.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002523/0.5223, allocations: 57.7 kB / 460.4 MB, free: 1.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001388/0.5237, allocations: 1.84 MB / 462.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006419/0.5243, allocations: 0.5483 MB / 462.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000803/0.5252, allocations: 399.6 kB / 463.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5253, allocations: 305.1 kB / 463.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/0.5269, allocations: 0.8513 MB / 464.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/0.5289, allocations: 1.559 MB / 465.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/0.5326, allocations: 2.565 MB / 468.5 MB, free: 8.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.048e-05/0.5326, allocations: 4 kB / 468.5 MB, free: 8.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005268/0.5379, allocations: 2.895 MB / 471.4 MB, free: 5.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.538, allocations: 23.88 kB / 471.4 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.17e-05/0.538, allocations: 24 kB / 471.4 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.5384, allocations: 118.2 kB / 471.6 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.5404, allocations: 0.5382 MB / 472.1 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.5422, allocations: 1.818 MB / 473.9 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.5444, allocations: 119.9 kB / 474 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.5447, allocations: 92 kB / 474.1 MB, free: 2.68 MB / 382.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 (269): * Single equations (assignments): 267 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002556/0.5473, allocations: 1.196 MB / 475.3 MB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000753/0.548, allocations: 245 kB / 475.6 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/0.5529, allocations: 2.456 MB / 478 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.5529, allocations: 16 kB / 478 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.658e-05/0.5529, allocations: 4 kB / 478 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.553, allocations: 11.97 kB / 478 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.565, allocations: 5.807 MB / 483.9 MB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.5651, allocations: 4.188 kB / 483.9 MB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/0.5664, allocations: 291.6 kB / 484.1 MB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009665/0.5674, allocations: 318.2 kB / 484.5 MB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000155/0.5676, allocations: 39.98 kB / 484.5 MB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006475/0.5741, allocations: 6.396 MB / 490.9 MB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.5741, allocations: 0 / 490.9 MB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006272/0.5804, allocations: 3.571 MB / 494.5 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.5819, allocations: 0.5018 MB / 495 MB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007238/0.5826, allocations: 32 kB / 495 MB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.5842, allocations: 83.92 kB / 495.1 MB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.5845, allocations: 122.7 kB / 495.2 MB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.5847, allocations: 40.11 kB / 495.2 MB, free: 12.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003231/0.5879, allocations: 1.572 MB / 496.8 MB, free: 11.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.5879, allocations: 0 / 496.8 MB, free: 11.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003183/0.5911, allocations: 0.6718 MB / 497.5 MB, free: 10.64 MB / 414.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 (132): * Single equations (assignments): 129 * 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,5,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.0005176/0.5917, allocations: 188.8 kB / 497.7 MB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004273/0.5959, allocations: 2.27 MB / 499.9 MB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.596, allocations: 0 / 499.9 MB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.5985, allocations: 1.449 MB / 0.4896 GB, free: 6.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003888/0.6024, allocations: 0.5694 MB / 0.4902 GB, free: 6.098 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01594/0.6183, allocations: 8.604 MB / 0.4986 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/0.6218, allocations: 2.591 MB / 0.5011 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.6229, allocations: 187.4 kB / 0.5013 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 2.184e-06/0.623, allocations: 0 / 0.5013 GB, free: 10.66 MB / 430.1 MB Notification: Performance of Templates: time 0.272/0.895, allocations: 95.27 MB / 0.5943 GB, free: 95.44 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches