Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008532/0.0008533, allocations: 95.48 kB / 16.93 MB, free: 5.984 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.0009891/0.0009891, allocations: 180.7 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004725, allocations: 8 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 47.59 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01654/0.1256, allocations: 13.35 MB / 341.7 MB, free: 6.684 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01249/0.1381, allocations: 5.228 MB / 346.9 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.1414, allocations: 83.62 kB / 347 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003797/0.1452, allocations: 0.9367 MB / 347.9 MB, free: 432 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006252/0.1515, allocations: 1.441 MB / 349.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003023/0.1546, allocations: 0.7134 MB / 350.1 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007926/0.1625, allocations: 3.393 MB / 353.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004682/0.1672, allocations: 2.7 MB / 356.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.1704, allocations: 1.541 MB / 357.7 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003852/0.1743, allocations: 1.867 MB / 359.6 MB, free: 4.691 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001157/0.1755, allocations: 252 kB / 359.8 MB, free: 4.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.1777, allocations: 443.7 kB / 360.3 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.1787, allocations: 0.9383 MB / 361.2 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.1802, allocations: 0.9018 MB / 362.1 MB, free: 2.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007546/0.1877, allocations: 6.537 MB / 368.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1878, allocations: 0 / 368.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1878, allocations: 0 / 368.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002704/0.1881, allocations: 0 / 368.7 MB, free: 11.61 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.01334/0.2014, allocations: 4.59 MB / 373.2 MB, free: 6.938 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.2015, allocations: 12.03 kB / 373.3 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006056/0.2076, allocations: 0.9938 MB / 374.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006602/0.2142, allocations: 2.645 MB / 376.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/0.2146, allocations: 308.1 kB / 377.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001611/0.2162, allocations: 395.9 kB / 377.6 MB, free: 2.535 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1997/0.4159, allocations: 5.164 MB / 382.7 MB, free: 27.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001098/0.4161, allocations: 1.812 kB / 382.7 MB, free: 27.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004412/0.4165, allocations: 166.1 kB / 382.9 MB, free: 27.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002337/0.4168, allocations: 175.1 kB / 383.1 MB, free: 27.83 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009704/0.4265, allocations: 4.447 MB / 387.5 MB, free: 27.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02881/0.4553, allocations: 16.91 MB / 404.4 MB, free: 22.74 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006083/0.4615, allocations: 8.415 MB / 412.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007228/0.4687, allocations: 4.245 MB / 417.1 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.4688, allocations: 48.38 kB / 417.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=167): time 3.406e-06/0.4688, allocations: 3.812 kB / 417.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=171): time 0.01132/0.4801, allocations: 6.568 MB / 423.7 MB, free: 6.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.4802, allocations: 75.41 kB / 423.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002918/0.4831, allocations: 2.268 MB / 426.1 MB, free: 3.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001497/0.4833, allocations: 49.7 kB / 426.1 MB, free: 3.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008476/0.4842, allocations: 1.824 MB / 427.9 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/0.4845, allocations: 0.5883 MB / 428.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.276e-05/0.4846, allocations: 44 kB / 428.6 MB, free: 1.219 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4848, allocations: 394.3 kB / 428.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.4861, allocations: 0.8866 MB / 429.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.488, allocations: 1.581 MB / 431.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.4899, allocations: 1.16 MB / 432.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.4899, allocations: 8 kB / 432.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005008/0.4949, allocations: 2.974 MB / 435.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.495, allocations: 16.62 kB / 435.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-05/0.495, allocations: 24.03 kB / 435.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.4954, allocations: 125.7 kB / 435.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/0.4976, allocations: 0.5756 MB / 436.3 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.4995, allocations: 1.813 MB / 438.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.5014, allocations: 120 kB / 438.2 MB, free: 7.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.5016, allocations: 102.3 kB / 438.3 MB, free: 7.18 MB / 334.1 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 (276): * Single equations (assignments): 274 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002593/0.5042, allocations: 1.198 MB / 439.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006152/0.5048, allocations: 249 kB / 439.8 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004727/0.5095, allocations: 2.6 MB / 442.4 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.721e-05/0.5096, allocations: 20 kB / 442.4 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.5096, allocations: 7.953 kB / 442.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.5096, allocations: 7.969 kB / 442.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.5207, allocations: 6.073 MB / 448.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.5208, allocations: 6.906 kB / 448.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.5222, allocations: 321 kB / 448.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008668/0.5231, allocations: 324.4 kB / 449.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.5232, allocations: 39.98 kB / 449.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006528/0.5298, allocations: 6.445 MB / 455.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5298, allocations: 2.406 kB / 455.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006709/0.5365, allocations: 3.943 MB / 459.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.5381, allocations: 0.5019 MB / 460 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003605/0.5385, allocations: 43.94 kB / 460.1 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.5397, allocations: 91.94 kB / 460.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003747/0.5401, allocations: 133.9 kB / 460.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/0.5402, allocations: 47.98 kB / 460.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.003229/0.5435, allocations: 1.525 MB / 461.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5435, allocations: 4 kB / 461.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003361/0.5469, allocations: 0.6788 MB / 462.6 MB, free: 14.35 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (143): * Single equations (assignments): 140 * 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%) 5,(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.0005476/0.5474, allocations: 174.8 kB / 462.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004687/0.5521, allocations: 2.38 MB / 465.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.5522, allocations: 0 / 465.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003173/0.5554, allocations: 1.513 MB / 466.6 MB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003493/0.5589, allocations: 0.5629 MB / 467.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/0.5749, allocations: 8.426 MB / 475.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003175/0.5781, allocations: 2.743 MB / 478.4 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002158/0.5803, allocations: 0.5613 MB / 478.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.5808, allocations: 163.4 kB / 479.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.5808, allocations: 0 / 479.1 MB, free: 13.82 MB / 382.1 MB Notification: Performance of Templates: time 0.05595/0.6368, allocations: 30.22 MB / 0.4974 GB, free: 15.64 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches