Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 55.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.112, allocations: 53.33 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.2321/0.3442, allocations: 17.34 MB / 443.7 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01183/0.356, allocations: 5.708 MB / 449.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004355/0.3604, allocations: 132.6 kB / 449.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004379/0.3647, allocations: 1.314 MB / 450.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006405/0.3711, allocations: 1.632 MB / 452.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003216/0.3744, allocations: 1.091 MB / 453.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008176/0.3825, allocations: 5.244 MB / 458.8 MB, free: 8.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004299/0.3868, allocations: 2.938 MB / 461.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.3906, allocations: 2.247 MB / 464 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004944/0.3956, allocations: 2.668 MB / 466.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001508/0.3971, allocations: 0.6128 MB / 467.3 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.3997, allocations: 0.8598 MB / 468.1 MB, free: 4.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.4012, allocations: 1.429 MB / 469.5 MB, free: 2.926 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004431/0.4057, allocations: 2.648 MB / 472.2 MB, free: 1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01108/0.4168, allocations: 8.166 MB / 480.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4168, allocations: 0 / 480.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4168, allocations: 0 / 480.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002061/0.417, allocations: 0 / 480.4 MB, free: 10.82 MB / 382.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.01631/0.4333, allocations: 5.529 MB / 485.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4333, allocations: 8.031 kB / 485.9 MB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001182/0.4345, allocations: 0.6066 MB / 486.5 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/0.4402, allocations: 1.025 MB / 487.5 MB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006986/0.4472, allocations: 3.026 MB / 490.6 MB, free: 480 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003084/0.4475, allocations: 304 kB / 490.9 MB, free: 172 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/0.4488, allocations: 404 kB / 491.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.4611, allocations: 5.225 MB / 496.5 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001174/0.4612, allocations: 4 kB / 496.5 MB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007957/0.462, allocations: 160 kB / 496.6 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002061/0.4622, allocations: 172 kB / 496.8 MB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009971/0.4722, allocations: 4.47 MB / 0.4895 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03342/0.5056, allocations: 16.74 MB / 0.5059 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009633/0.5152, allocations: 8.517 MB / 0.5142 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004861/0.5201, allocations: 2 MB / 0.5161 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01184/0.5319, allocations: 5.781 MB / 0.5218 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.532, allocations: 59.81 kB / 0.5218 GB, free: 2.684 MB / 430.1 MB Notification: Performance of pre-optimization done (n=157): time 4.108e-06/0.532, allocations: 0 / 0.5218 GB, free: 2.684 MB / 430.1 MB Notification: Performance of matching and sorting (n=160): time 0.01492/0.5469, allocations: 6.356 MB / 0.5281 GB, free: 12.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.547, allocations: 76.64 kB / 0.5281 GB, free: 12.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004829/0.5518, allocations: 2.312 MB / 0.5304 GB, free: 9.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000238/0.552, allocations: 53.7 kB / 0.5304 GB, free: 9.691 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001668/0.5537, allocations: 1.913 MB / 0.5323 GB, free: 7.758 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006751/0.5544, allocations: 0.5772 MB / 0.5329 GB, free: 7.176 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008267/0.5552, allocations: 395.9 kB / 0.5332 GB, free: 6.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5553, allocations: 301.1 kB / 0.5335 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.557, allocations: 0.8631 MB / 0.5344 GB, free: 5.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.5593, allocations: 1.571 MB / 0.5359 GB, free: 3.715 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004375/0.5637, allocations: 2.582 MB / 0.5384 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.481e-05/0.5637, allocations: 12 kB / 0.5384 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005791/0.5695, allocations: 2.983 MB / 0.5414 GB, free: 13.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.5696, allocations: 16.06 kB / 0.5414 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.988e-05/0.5696, allocations: 24 kB / 0.5414 GB, free: 13.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004949/0.5701, allocations: 177.5 kB / 0.5416 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002077/0.5722, allocations: 0.5342 MB / 0.5421 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.5751, allocations: 2.426 MB / 0.5445 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/0.5771, allocations: 115.9 kB / 0.5446 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.5774, allocations: 99.98 kB / 0.5447 GB, free: 10.25 MB / 462.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.002437/0.5798, allocations: 1.196 MB / 0.5458 GB, free: 9.039 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007323/0.5805, allocations: 258.4 kB / 0.5461 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005277/0.5858, allocations: 2.52 MB / 0.5485 GB, free: 6.211 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.5858, allocations: 16 kB / 0.5485 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.5858, allocations: 4 kB / 0.5486 GB, free: 6.191 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.5859, allocations: 7.969 kB / 0.5486 GB, free: 6.184 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01222/0.5981, allocations: 5.905 MB / 0.5543 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.5981, allocations: 4 kB / 0.5543 GB, free: 148 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.5995, allocations: 279.6 kB / 0.5546 GB, free: 15.87 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001027/0.6005, allocations: 377 kB / 0.555 GB, free: 15.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/0.6006, allocations: 43.92 kB / 0.555 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008509/0.6092, allocations: 7.378 MB / 0.5622 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.6092, allocations: 4.031 kB / 0.5622 GB, free: 7.656 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006964/0.6161, allocations: 3.677 MB / 0.5658 GB, free: 3.898 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/0.6175, allocations: 0.5071 MB / 0.5663 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006703/0.6182, allocations: 39.94 kB / 0.5663 GB, free: 3.332 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.6197, allocations: 83.92 kB / 0.5664 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/0.62, allocations: 121.1 kB / 0.5665 GB, free: 3.133 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.6201, allocations: 47.92 kB / 0.5666 GB, free: 3.086 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003136/0.6233, allocations: 1.569 MB / 0.5681 GB, free: 1.504 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6233, allocations: 0 / 0.5681 GB, free: 1.504 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002982/0.6263, allocations: 0.6796 MB / 0.5688 GB, free: 0.8242 MB / 478.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.007183/0.6334, allocations: 4.279 MB / 0.5729 GB, free: 12.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004337/0.6378, allocations: 2.227 MB / 0.5751 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.6378, allocations: 3.938 kB / 0.5751 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002757/0.6405, allocations: 1.425 MB / 0.5765 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003797/0.6443, allocations: 0.6009 MB / 0.5771 GB, free: 8.133 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04817/0.6925, allocations: 24.44 MB / 0.601 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003937/0.6965, allocations: 2.678 MB / 0.6036 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002016/0.6985, allocations: 0.5513 MB / 0.6041 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/0.7008, allocations: 1.483 MB / 0.6056 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of SimCode: time 1.423e-06/0.7008, allocations: 0 / 0.6056 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.307/1.008, allocations: 60.67 MB / 0.6648 GB, free: 139.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/16.72, allocations: 8.391 kB / 0.6648 GB, free: 139.3 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 26.13597529102117]