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.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.001368/0.001368, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001632/0.001632, allocations: 216.1 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 207.7 MB / 235.3 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.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.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 55.91 kB / 347.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3114, allocations: 49.16 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01707/0.3284, allocations: 14.44 MB / 410.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.015/0.3434, allocations: 5.189 MB / 416 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00455/0.348, allocations: 112.1 kB / 416.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004352/0.3523, allocations: 1.234 MB / 417.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007/0.3593, allocations: 1.588 MB / 418.9 MB, free: 9.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003915/0.3632, allocations: 1.056 MB / 420 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008686/0.3719, allocations: 5.126 MB / 425.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005532/0.3775, allocations: 2.114 MB / 427.2 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004691/0.3822, allocations: 2.239 MB / 429.5 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/0.3873, allocations: 2.467 MB / 431.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.3888, allocations: 0.6171 MB / 432.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002876/0.3917, allocations: 0.8123 MB / 433.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.3936, allocations: 1.426 MB / 434.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003696/0.3973, allocations: 2.101 MB / 436.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.4079, allocations: 8.136 MB / 445 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4079, allocations: 0 / 445 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4079, allocations: 0 / 445 MB, free: 2.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002703/0.4082, allocations: 0 / 445 MB, free: 2.242 MB / 350.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.01671/0.4249, allocations: 5.414 MB / 450.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.4249, allocations: 15.98 kB / 450.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00142/0.4264, allocations: 0.6104 MB / 451.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/0.4319, allocations: 1.013 MB / 452.1 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007227/0.4391, allocations: 2.742 MB / 454.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.4395, allocations: 312 kB / 455.1 MB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/0.4409, allocations: 391.9 kB / 455.5 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01334/0.4543, allocations: 5.364 MB / 460.9 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001033/0.4544, allocations: 3.953 kB / 460.9 MB, free: 2.137 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004558/0.4548, allocations: 172 kB / 461 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000235/0.455, allocations: 176 kB / 461.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.4663, allocations: 4.431 MB / 465.6 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03102/0.4973, allocations: 14.91 MB / 480.5 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005832/0.5031, allocations: 3.188 MB / 483.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/0.5061, allocations: 1.546 MB / 485.3 MB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008278/0.5143, allocations: 3.895 MB / 489.2 MB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.287e-05/0.5144, allocations: 59.75 kB / 489.2 MB, free: 5.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.747e-06/0.5144, allocations: 0 / 489.2 MB, free: 5.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01232/0.5267, allocations: 5.69 MB / 494.9 MB, free: 15.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.5268, allocations: 68.72 kB / 495 MB, free: 15.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.5308, allocations: 2.333 MB / 497.3 MB, free: 13.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002607/0.5311, allocations: 49.7 kB / 497.4 MB, free: 13.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001645/0.5327, allocations: 1.908 MB / 499.3 MB, free: 11.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/0.5333, allocations: 0.5694 MB / 499.8 MB, free: 10.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006192/0.5339, allocations: 399.8 kB / 0.4885 GB, free: 10.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5341, allocations: 301.1 kB / 0.4888 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.5357, allocations: 0.8474 MB / 0.4896 GB, free: 9.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.538, allocations: 1.581 MB / 0.4912 GB, free: 7.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004077/0.542, allocations: 2.559 MB / 0.4937 GB, free: 4.367 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.5421, allocations: 4 kB / 0.4937 GB, free: 4.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005351/0.5474, allocations: 2.814 MB / 0.4964 GB, free: 1.535 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.5474, allocations: 16 kB / 0.4964 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/0.5475, allocations: 24 kB / 0.4965 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.5479, allocations: 125.7 kB / 0.4966 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/0.55, allocations: 0.5385 MB / 0.4971 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.552, allocations: 1.886 MB / 0.4989 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.5537, allocations: 111.8 kB / 0.4991 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.5539, allocations: 92 kB / 0.4991 GB, free: 14.63 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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.002105/0.556, allocations: 1.196 MB / 0.5003 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004128/0.5564, allocations: 258.3 kB / 0.5006 GB, free: 13.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004345/0.5607, allocations: 2.266 MB / 0.5028 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.5608, allocations: 16 kB / 0.5028 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5608, allocations: 7.938 kB / 0.5028 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.5608, allocations: 11.95 kB / 0.5028 GB, free: 10.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009604/0.5704, allocations: 5.254 MB / 0.5079 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5704, allocations: 0 / 0.5079 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.5718, allocations: 299.9 kB / 0.5082 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008453/0.5726, allocations: 314.2 kB / 0.5085 GB, free: 4.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.5727, allocations: 39.98 kB / 0.5086 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007093/0.5798, allocations: 6.578 MB / 0.515 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5798, allocations: 7.938 kB / 0.515 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/0.5856, allocations: 3.395 MB / 0.5183 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.5869, allocations: 438.2 kB / 0.5187 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002938/0.5872, allocations: 35.98 kB / 0.5188 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5882, allocations: 75.94 kB / 0.5188 GB, free: 9.934 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/0.5885, allocations: 129 kB / 0.519 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/0.5886, allocations: 47.98 kB / 0.519 GB, free: 9.762 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002326/0.5909, allocations: 1.549 MB / 0.5205 GB, free: 8.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5909, allocations: 0 / 0.5205 GB, free: 8.199 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001947/0.5929, allocations: 0.6718 MB / 0.5212 GB, free: 7.527 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.005829/0.5987, allocations: 4.009 MB / 0.5251 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003587/0.6023, allocations: 2.105 MB / 0.5271 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6023, allocations: 0 / 0.5271 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002162/0.6044, allocations: 1.374 MB / 0.5285 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.6069, allocations: 0.6049 MB / 0.5291 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/0.6422, allocations: 24.05 MB / 0.5526 GB, free: 6.355 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002482/0.6447, allocations: 2.13 MB / 0.5546 GB, free: 4.195 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00169/0.6464, allocations: 0.5552 MB / 0.5552 GB, free: 3.637 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001924/0.6483, allocations: 1.468 MB / 0.5566 GB, free: 2.168 MB / 478.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6483, allocations: 0 / 0.5566 GB, free: 2.168 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2701/0.9184, allocations: 62.6 MB / 0.6177 GB, free: 108.8 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.47, allocations: 15.94 kB / 0.6178 GB, free: 108.8 MB / 478.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_DOL.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMEE_DOL/SMEE_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 24.573335455264896]