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.001367/0.001367, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001471/0.001471, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.459/1.459, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.001997/0.001997, allocations: 51.94 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.266, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.018/0.284, allocations: 16.72 MB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.2981, allocations: 5.483 MB / 418.6 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004223/0.3023, allocations: 114.8 kB / 418.7 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005169/0.3075, allocations: 1.293 MB / 420 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006561/0.3141, allocations: 1.606 MB / 421.6 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.3179, allocations: 1.105 MB / 422.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009038/0.3269, allocations: 5.123 MB / 427.8 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005235/0.3322, allocations: 2.212 MB / 430 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00442/0.3366, allocations: 2.233 MB / 432.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005324/0.3419, allocations: 2.635 MB / 434.9 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00192/0.3438, allocations: 0.6133 MB / 435.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.3471, allocations: 0.8318 MB / 436.3 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002376/0.3495, allocations: 1.433 MB / 437.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005339/0.3548, allocations: 2.637 MB / 440.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.368, allocations: 8.106 MB / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.368, allocations: 0 / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.368, allocations: 4 kB / 448.5 MB, free: 14.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002899/0.3683, allocations: 0 / 448.5 MB, free: 14.97 MB / 366.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.01765/0.386, allocations: 5.41 MB / 453.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.386, allocations: 15.98 kB / 453.9 MB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001789/0.3878, allocations: 0.5988 MB / 454.5 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005921/0.3937, allocations: 1.009 MB / 455.5 MB, free: 7.855 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007399/0.4011, allocations: 2.757 MB / 458.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003614/0.4015, allocations: 304 kB / 458.6 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/0.4028, allocations: 400 kB / 459 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01311/0.4159, allocations: 5.209 MB / 464.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001649/0.4161, allocations: 7.953 kB / 464.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001048/0.4171, allocations: 160 kB / 464.4 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000214/0.4173, allocations: 172 kB / 464.5 MB, free: 14.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009212/0.4265, allocations: 4.451 MB / 469 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02967/0.4562, allocations: 16.34 MB / 485.3 MB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006122/0.4623, allocations: 3.202 MB / 488.5 MB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003043/0.4654, allocations: 1.554 MB / 490.1 MB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009459/0.4748, allocations: 4.308 MB / 494.4 MB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/0.4749, allocations: 51.86 kB / 494.4 MB, free: 0.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 3.526e-06/0.4749, allocations: 0 / 494.4 MB, free: 0.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=159): time 0.01282/0.4877, allocations: 5.686 MB / 0.4884 GB, free: 10.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.4878, allocations: 72.72 kB / 0.4885 GB, free: 10.69 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004246/0.492, allocations: 2.294 MB / 0.4907 GB, free: 8.371 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.4922, allocations: 49.7 kB / 0.4908 GB, free: 8.316 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.4938, allocations: 1.905 MB / 0.4926 GB, free: 6.391 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006121/0.4944, allocations: 0.5733 MB / 0.4932 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007025/0.4951, allocations: 399.9 kB / 0.4936 GB, free: 5.414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4952, allocations: 301.1 kB / 0.4938 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.4969, allocations: 0.8397 MB / 0.4947 GB, free: 4.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.4992, allocations: 1.564 MB / 0.4962 GB, free: 2.379 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004098/0.5033, allocations: 2.559 MB / 0.4987 GB, free: 15.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/0.5033, allocations: 7.984 kB / 0.4987 GB, free: 15.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.005523/0.5088, allocations: 2.81 MB / 0.5014 GB, free: 12.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.5089, allocations: 15.98 kB / 0.5015 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.316e-05/0.5089, allocations: 24 kB / 0.5015 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.5093, allocations: 129.6 kB / 0.5016 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/0.5113, allocations: 0.5348 MB / 0.5021 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.5135, allocations: 1.898 MB / 0.504 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/0.5157, allocations: 111.9 kB / 0.5041 GB, free: 9.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/0.516, allocations: 96 kB / 0.5042 GB, free: 9.746 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.002987/0.519, allocations: 1.192 MB / 0.5053 GB, free: 8.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/0.5198, allocations: 262.3 kB / 0.5056 GB, free: 8.285 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/0.5247, allocations: 2.27 MB / 0.5078 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.5247, allocations: 19.94 kB / 0.5078 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.5248, allocations: 7.938 kB / 0.5078 GB, free: 5.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-05/0.5248, allocations: 7.969 kB / 0.5078 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/0.5361, allocations: 5.586 MB / 0.5133 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5361, allocations: 0 / 0.5133 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.5374, allocations: 291.9 kB / 0.5136 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008864/0.5383, allocations: 322 kB / 0.5139 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.5384, allocations: 39.98 kB / 0.5139 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007526/0.546, allocations: 6.64 MB / 0.5204 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.546, allocations: 4 kB / 0.5204 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006314/0.5523, allocations: 3.403 MB / 0.5237 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/0.5537, allocations: 446.1 kB / 0.5242 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005528/0.5543, allocations: 36.19 kB / 0.5242 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.5556, allocations: 79.92 kB / 0.5243 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.5559, allocations: 129 kB / 0.5244 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.556, allocations: 47.98 kB / 0.5244 GB, free: 4.465 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003018/0.559, allocations: 1.552 MB / 0.5259 GB, free: 2.898 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.559, allocations: 0 / 0.5259 GB, free: 2.898 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00266/0.5617, allocations: 0.668 MB / 0.5266 GB, free: 2.23 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.006603/0.5683, allocations: 4.016 MB / 0.5305 GB, free: 14.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004088/0.5724, allocations: 2.101 MB / 0.5326 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.5724, allocations: 0 / 0.5326 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002445/0.5748, allocations: 1.37 MB / 0.5339 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003446/0.5783, allocations: 0.5972 MB / 0.5345 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04637/0.6247, allocations: 24.09 MB / 0.558 GB, free: 1.023 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1974/0.8221, allocations: 2.655 MB / 0.5606 GB, free: 147.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002129/0.8242, allocations: 0.5549 MB / 0.5612 GB, free: 147.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001917/0.8261, allocations: 1.465 MB / 0.5626 GB, free: 147 MB / 478.1 MB Notification: Performance of SimCode: time 1.583e-06/0.8261, allocations: 0 / 0.5626 GB, free: 147 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/0.9415, allocations: 61.58 MB / 0.6227 GB, free: 100.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.57/17.51, allocations: 7.922 kB / 0.6227 GB, free: 100.5 MB / 478.1 MB " [Timeout remaining time 642] (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 656] Reference file matches [Calling sys.exit(0), Time elapsed: 27.22641670401208]