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.0008687/0.0008688, allocations: 87.5 kB / 16.3 MB, free: 5.996 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.0008364/0.0008365, allocations: 186.9 kB / 17.2 MB, free: 5.91 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.288/1.288, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002289/0.0002289, allocations: 9.766 kB / 300.7 MB, free: 5.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1183, allocations: 50.43 MB / 351.2 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.01844/0.1368, allocations: 13.43 MB / 364.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009233/0.1461, allocations: 5.177 MB / 369.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/0.1479, allocations: 91.56 kB / 369.9 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.1502, allocations: 0.9406 MB / 370.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.1537, allocations: 1.453 MB / 372.2 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001819/0.1555, allocations: 0.7056 MB / 373 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00481/0.1603, allocations: 3.39 MB / 376.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.1635, allocations: 2.737 MB / 379.1 MB, free: 15.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002084/0.1656, allocations: 1.541 MB / 380.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.1677, allocations: 1.867 MB / 382.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003818/0.168, allocations: 248 kB / 382.7 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.1691, allocations: 439.7 kB / 383.2 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007667/0.1699, allocations: 0.9383 MB / 384.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008167/0.1707, allocations: 0.9057 MB / 385 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00506/0.1758, allocations: 6.556 MB / 391.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1758, allocations: 0 / 391.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.128e-06/0.1758, allocations: 3.984 kB / 391.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001266/0.176, allocations: 4 kB / 391.6 MB, free: 3.16 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.01067/0.1866, allocations: 4.59 MB / 396.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.1867, allocations: 8.031 kB / 396.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005681/0.1924, allocations: 0.9977 MB / 397.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/0.1985, allocations: 2.765 MB / 399.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002688/0.1988, allocations: 312.1 kB / 400.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006692/0.1995, allocations: 395.9 kB / 400.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008596/0.2081, allocations: 5.17 MB / 405.8 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/0.2082, allocations: 4 kB / 405.8 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003398/0.2085, allocations: 160 kB / 405.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001529/0.2087, allocations: 176 kB / 406.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00736/0.216, allocations: 4.466 MB / 410.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2208/0.4369, allocations: 16.9 MB / 427.5 MB, free: 53.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006622/0.4435, allocations: 8.415 MB / 435.9 MB, free: 47.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008345/0.4519, allocations: 4.251 MB / 440.2 MB, free: 46.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.452, allocations: 56.58 kB / 440.2 MB, free: 46.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=167): time 3.747e-06/0.452, allocations: 0.5312 kB / 440.2 MB, free: 46.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=171): time 0.01241/0.4644, allocations: 6.571 MB / 446.8 MB, free: 45.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.4645, allocations: 73.83 kB / 446.8 MB, free: 45.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/0.4679, allocations: 2.262 MB / 449.1 MB, free: 44.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001623/0.4681, allocations: 56.61 kB / 449.2 MB, free: 44.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001319/0.4695, allocations: 1.818 MB / 451 MB, free: 43.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005752/0.47, allocations: 0.5868 MB / 451.6 MB, free: 42.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.4702, allocations: 44.59 kB / 451.6 MB, free: 42.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4704, allocations: 396.8 kB / 452 MB, free: 42.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002039/0.4724, allocations: 0.8856 MB / 452.9 MB, free: 42.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/0.4748, allocations: 1.576 MB / 454.5 MB, free: 41.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.477, allocations: 1.169 MB / 455.6 MB, free: 40.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.4771, allocations: 7.875 kB / 455.6 MB, free: 40.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005984/0.4831, allocations: 2.972 MB / 458.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.4831, allocations: 15.44 kB / 458.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/0.4832, allocations: 21.59 kB / 458.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/0.4835, allocations: 135.2 kB / 458.8 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.4854, allocations: 0.5621 MB / 459.3 MB, free: 38.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.4868, allocations: 1.825 MB / 461.2 MB, free: 37.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.489, allocations: 120.2 kB / 461.3 MB, free: 37.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.4892, allocations: 95.86 kB / 461.4 MB, free: 37.19 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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.003219/0.4924, allocations: 1.191 MB / 462.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007526/0.4932, allocations: 252.6 kB / 462.8 MB, free: 36.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005667/0.4988, allocations: 2.603 MB / 465.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/0.4989, allocations: 20.09 kB / 465.4 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/0.4989, allocations: 10.64 kB / 465.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.499, allocations: 7.969 kB / 465.5 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.5116, allocations: 6.077 MB / 471.5 MB, free: 29.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.5117, allocations: 4 kB / 471.5 MB, free: 29.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/0.513, allocations: 323.8 kB / 471.9 MB, free: 29.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007268/0.5137, allocations: 314.9 kB / 472.2 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-05/0.5138, allocations: 47.98 kB / 472.2 MB, free: 28.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.5184, allocations: 6.455 MB / 478.7 MB, free: 21.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.5185, allocations: 7.516 kB / 478.7 MB, free: 21.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004885/0.5233, allocations: 3.943 MB / 482.6 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/0.5244, allocations: 0.5097 MB / 483.1 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003087/0.5248, allocations: 36 kB / 483.2 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.5259, allocations: 101 kB / 483.3 MB, free: 17.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.5261, allocations: 121.1 kB / 483.4 MB, free: 16.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/0.5262, allocations: 47.98 kB / 483.4 MB, free: 16.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.528, allocations: 1.533 MB / 485 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.528, allocations: 0 / 485 MB, free: 15.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002/0.53, allocations: 0.683 MB / 485.6 MB, free: 14.66 MB / 350.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.0002888/0.5303, allocations: 177.4 kB / 485.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003138/0.5335, allocations: 2.374 MB / 488.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5335, allocations: 0 / 488.2 MB, free: 12.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.5354, allocations: 1.528 MB / 489.7 MB, free: 10.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.5377, allocations: 0.5506 MB / 490.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.5478, allocations: 8.388 MB / 498.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.55, allocations: 2.744 MB / 0.4896 GB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002135/0.5522, allocations: 0.5591 MB / 0.4902 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/0.5526, allocations: 163.4 kB / 0.4903 GB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 1.242e-06/0.5526, allocations: 0 / 0.4903 GB, free: 14.04 MB / 366.1 MB Notification: Performance of Templates: time 0.05075/0.6034, allocations: 30.2 MB / 0.5198 GB, free: 164 kB / 382.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/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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches