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.001503/0.001503, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001634/0.001634, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.371/1.371, allocations: 230.6 MB / 258.3 MB, free: 8.035 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 39.94 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2297, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0213/0.251, allocations: 17.42 MB / 449.4 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01134/0.2624, allocations: 5.717 MB / 455.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.2649, allocations: 131.2 kB / 455.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003606/0.2685, allocations: 1.317 MB / 456.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004834/0.2734, allocations: 1.65 MB / 458.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.276, allocations: 1.114 MB / 459.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006776/0.2828, allocations: 5.244 MB / 464.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004261/0.287, allocations: 2.309 MB / 466.8 MB, free: 3.773 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.2901, allocations: 2.247 MB / 469.1 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/0.2938, allocations: 2.666 MB / 471.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.295, allocations: 0.6133 MB / 472.4 MB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.2968, allocations: 0.8669 MB / 473.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.2982, allocations: 1.433 MB / 474.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003357/0.3015, allocations: 2.645 MB / 477.3 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008718/0.3103, allocations: 8.163 MB / 485.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3103, allocations: 4 kB / 485.5 MB, free: 1.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3103, allocations: 0 / 485.5 MB, free: 1.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.557e-05/0.3103, allocations: 0 / 485.5 MB, free: 1.074 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.01205/0.3224, allocations: 5.452 MB / 490.9 MB, free: 11.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.3224, allocations: 12.03 kB / 490.9 MB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001272/0.3226, allocations: 115.8 kB / 491.1 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009183/0.3235, allocations: 0.6067 MB / 491.7 MB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005223/0.3287, allocations: 1.025 MB / 492.7 MB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005436/0.3341, allocations: 2.945 MB / 495.6 MB, free: 6.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.3344, allocations: 308 kB / 495.9 MB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005932/0.335, allocations: 407.9 kB / 496.3 MB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008759/0.3437, allocations: 5.225 MB / 0.4898 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.859e-05/0.3438, allocations: 4 kB / 0.4898 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003759/0.3442, allocations: 164 kB / 0.49 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/0.3444, allocations: 176 kB / 0.4901 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007857/0.3522, allocations: 4.474 MB / 0.4945 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02848/0.3807, allocations: 16.36 MB / 0.5105 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006535/0.3872, allocations: 3.253 MB / 0.5137 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004532/0.3918, allocations: 1.983 MB / 0.5156 GB, free: 6.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009743/0.4015, allocations: 4.626 MB / 0.5201 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.618e-05/0.4016, allocations: 47.88 kB / 0.5202 GB, free: 1.367 MB / 430.1 MB Notification: Performance of pre-optimization done (n=159): time 3.596e-06/0.4016, allocations: 0 / 0.5202 GB, free: 1.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=187): time 0.01811/0.4197, allocations: 7.449 MB / 0.5274 GB, free: 9.883 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.771e-05/0.4197, allocations: 73.41 kB / 0.5275 GB, free: 9.797 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004307/0.4241, allocations: 2.315 MB / 0.5298 GB, free: 7.457 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.4242, allocations: 61.64 kB / 0.5298 GB, free: 7.391 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.4259, allocations: 1.917 MB / 0.5317 GB, free: 5.453 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007043/0.4266, allocations: 0.6662 MB / 0.5323 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007769/0.4274, allocations: 432.5 kB / 0.5328 GB, free: 4.352 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4275, allocations: 305.1 kB / 0.533 GB, free: 4.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.4293, allocations: 0.965 MB / 0.534 GB, free: 3.082 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.4318, allocations: 1.698 MB / 0.5356 GB, free: 1.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.19/0.6219, allocations: 2.841 MB / 0.5384 GB, free: 96.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.6219, allocations: 8.406 kB / 0.5384 GB, free: 96.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.005329/0.6272, allocations: 3.333 MB / 0.5417 GB, free: 94.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.6273, allocations: 16.03 kB / 0.5417 GB, free: 94.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.157e-05/0.6273, allocations: 22.81 kB / 0.5417 GB, free: 94.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009474/0.6282, allocations: 381.1 kB / 0.5421 GB, free: 94.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/0.6302, allocations: 0.5529 MB / 0.5426 GB, free: 94.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004549/0.6348, allocations: 5.26 MB / 0.5478 GB, free: 90.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/0.6366, allocations: 119.1 kB / 0.5479 GB, free: 90.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.6368, allocations: 102.8 kB / 0.548 GB, free: 90.68 MB / 446.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 (277): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 2 systems {(2,15,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00173/0.6386, allocations: 1.22 MB / 0.5492 GB, free: 90.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004291/0.639, allocations: 279.3 kB / 0.5494 GB, free: 90.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004144/0.6431, allocations: 2.708 MB / 0.5521 GB, free: 88.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.6431, allocations: 16.75 kB / 0.5521 GB, free: 88.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.6431, allocations: 15.73 kB / 0.5521 GB, free: 88.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.6432, allocations: 8.531 kB / 0.5521 GB, free: 88.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008073/0.6512, allocations: 6.37 MB / 0.5583 GB, free: 86.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.6512, allocations: 3.469 kB / 0.5583 GB, free: 86.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.6526, allocations: 345.4 kB / 0.5587 GB, free: 86.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009002/0.6535, allocations: 407.2 kB / 0.5591 GB, free: 85.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.6537, allocations: 47.69 kB / 0.5591 GB, free: 85.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005357/0.659, allocations: 7.35 MB / 0.5663 GB, free: 79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.659, allocations: 8.094 kB / 0.5663 GB, free: 78.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005154/0.6642, allocations: 4.038 MB / 0.5702 GB, free: 75.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.6652, allocations: 490.7 kB / 0.5707 GB, free: 74.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.6655, allocations: 36 kB / 0.5707 GB, free: 74.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.6666, allocations: 87.92 kB / 0.5708 GB, free: 74.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.6669, allocations: 137.7 kB / 0.5709 GB, free: 74.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.968e-05/0.667, allocations: 55.97 kB / 0.571 GB, free: 74.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001766/0.6688, allocations: 1.565 MB / 0.5725 GB, free: 72.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6688, allocations: 0 / 0.5725 GB, free: 72.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002031/0.6708, allocations: 0.7186 MB / 0.5732 GB, free: 72.02 MB / 446.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.stator.stray.Phi.re,smee.stator.stray.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 (156): * Single equations (assignments): 153 * 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 {(2,15,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005325/0.6761, allocations: 4.668 MB / 0.5778 GB, free: 67.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.6799, allocations: 2.69 MB / 0.5804 GB, free: 64.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6799, allocations: 0 / 0.5804 GB, free: 64.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.6819, allocations: 1.569 MB / 0.5819 GB, free: 62.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002408/0.6843, allocations: 0.6185 MB / 0.5826 GB, free: 62.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/0.7139, allocations: 25.71 MB / 0.6077 GB, free: 35.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/0.7156, allocations: 2.715 MB / 0.6103 GB, free: 32.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001514/0.7171, allocations: 0.5796 MB / 0.6109 GB, free: 32.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/0.7185, allocations: 1.507 MB / 0.6123 GB, free: 30.89 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.7185, allocations: 0 / 0.6123 GB, free: 30.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/0.8307, allocations: 65.68 MB / 0.6765 GB, free: 13.78 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.84/18.67, allocations: 7.312 kB / 0.6765 GB, free: 13.78 MB / 494.1 MB " [Timeout remaining time 641] (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 653] Reference file matches [Calling sys.exit(0), Time elapsed: 34.60821885598125]