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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.505/1.505, allocations: 207.6 MB / 231.8 MB, free: 4.098 MB / 174.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.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: "" <> 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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 47.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09728, allocations: 49.12 MB / 391.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.02011/0.1174, allocations: 16.66 MB / 408 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01119/0.1286, allocations: 5.453 MB / 413.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.1311, allocations: 95.56 kB / 413.6 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003657/0.1348, allocations: 1.281 MB / 414.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005032/0.1398, allocations: 1.639 MB / 416.5 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.1425, allocations: 1.087 MB / 417.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007224/0.1498, allocations: 5.114 MB / 422.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003855/0.1536, allocations: 2.726 MB / 425.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.1568, allocations: 2.184 MB / 427.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003911/0.1607, allocations: 2.635 MB / 430.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.1617, allocations: 0.6133 MB / 430.9 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.1635, allocations: 0.8396 MB / 431.7 MB, free: 176 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.1648, allocations: 1.426 MB / 433.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003302/0.1681, allocations: 2.641 MB / 435.8 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009356/0.1775, allocations: 8.09 MB / 443.9 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1775, allocations: 0 / 443.9 MB, free: 3.973 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1775, allocations: 4 kB / 443.9 MB, free: 3.969 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001633/0.1777, allocations: 4 kB / 443.9 MB, free: 3.965 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.01368/0.1913, allocations: 5.482 MB / 449.4 MB, free: 14.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.1914, allocations: 8.031 kB / 449.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/0.1924, allocations: 0.6105 MB / 450 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/0.1975, allocations: 1.013 MB / 451 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006487/0.204, allocations: 2.825 MB / 453.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003002/0.2043, allocations: 300 kB / 454.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009762/0.2053, allocations: 400 kB / 454.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/0.2157, allocations: 5.213 MB / 459.7 MB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.29e-05/0.2158, allocations: 7.953 kB / 459.7 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004684/0.2162, allocations: 164 kB / 459.9 MB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/0.2164, allocations: 176 kB / 460.1 MB, free: 3.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1691/0.3856, allocations: 4.437 MB / 464.5 MB, free: 58.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02534/0.4109, allocations: 16.64 MB / 481.1 MB, free: 49.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005193/0.4161, allocations: 8.249 MB / 489.4 MB, free: 41.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/0.4183, allocations: 1.568 MB / 490.9 MB, free: 40.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00754/0.4259, allocations: 4.947 MB / 495.9 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4259, allocations: 47.81 kB / 495.9 MB, free: 36.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=156): time 4.648e-06/0.4259, allocations: 0 / 495.9 MB, free: 36.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=159): time 0.009564/0.4355, allocations: 6.148 MB / 0.4903 GB, free: 33.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.4355, allocations: 74.12 kB / 0.4904 GB, free: 33.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.438, allocations: 2.293 MB / 0.4926 GB, free: 32.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/0.4381, allocations: 54.42 kB / 0.4927 GB, free: 31.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007932/0.4389, allocations: 1.897 MB / 0.4945 GB, free: 30.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002738/0.4392, allocations: 0.5757 MB / 0.4951 GB, free: 29.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004462/0.4396, allocations: 403.8 kB / 0.4955 GB, free: 29.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.4396, allocations: 301.1 kB / 0.4958 GB, free: 29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.4407, allocations: 0.8397 MB / 0.4966 GB, free: 28.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.442, allocations: 1.559 MB / 0.4981 GB, free: 26.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.4445, allocations: 2.564 MB / 0.5006 GB, free: 23.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.4445, allocations: 8 kB / 0.5006 GB, free: 23.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=275) (initialization): time 0.003782/0.4483, allocations: 2.881 MB / 0.5034 GB, free: 20.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4484, allocations: 16 kB / 0.5035 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.4484, allocations: 25.47 kB / 0.5035 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000283/0.4487, allocations: 125.6 kB / 0.5036 GB, free: 20.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.4503, allocations: 0.5422 MB / 0.5041 GB, free: 19.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001221/0.4515, allocations: 1.993 MB / 0.5061 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.4531, allocations: 123.9 kB / 0.5062 GB, free: 17.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.4532, allocations: 95.98 kB / 0.5063 GB, free: 17.4 MB / 382.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.001589/0.4548, allocations: 1.192 MB / 0.5074 GB, free: 16.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.4551, allocations: 250.4 kB / 0.5077 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.4583, allocations: 2.432 MB / 0.5101 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.4583, allocations: 18.84 kB / 0.5101 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4583, allocations: 7.281 kB / 0.5101 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.4583, allocations: 7.969 kB / 0.5101 GB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00722/0.4656, allocations: 5.757 MB / 0.5157 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4656, allocations: 8.219 kB / 0.5157 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.4667, allocations: 283.6 kB / 0.516 GB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/0.4673, allocations: 310.3 kB / 0.5163 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.469e-05/0.4674, allocations: 43.92 kB / 0.5163 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/0.4721, allocations: 6.968 MB / 0.5231 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4721, allocations: 0 / 0.5231 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/0.478, allocations: 3.545 MB / 0.5266 GB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/0.4794, allocations: 0.5032 MB / 0.5271 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/0.4798, allocations: 43.97 kB / 0.5271 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.4809, allocations: 87.88 kB / 0.5272 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.4812, allocations: 113.1 kB / 0.5273 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.534e-05/0.4813, allocations: 47.98 kB / 0.5274 GB, free: 11.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002402/0.4837, allocations: 1.549 MB / 0.5289 GB, free: 9.559 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4837, allocations: 4 kB / 0.5289 GB, free: 9.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002196/0.4859, allocations: 0.6724 MB / 0.5295 GB, free: 8.883 MB / 398.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.006061/0.492, allocations: 4.171 MB / 0.5336 GB, free: 4.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003719/0.4957, allocations: 2.176 MB / 0.5357 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4957, allocations: 0 / 0.5357 GB, free: 2.418 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002359/0.498, allocations: 1.377 MB / 0.5371 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002761/0.5008, allocations: 0.5972 MB / 0.5377 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03757/0.5384, allocations: 24.19 MB / 0.5613 GB, free: 7.266 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/0.541, allocations: 2.669 MB / 0.5639 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001733/0.5427, allocations: 0.5552 MB / 0.5644 GB, free: 4.016 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/0.5447, allocations: 1.464 MB / 0.5659 GB, free: 2.551 MB / 430.1 MB Notification: Performance of SimCode: time 1.764e-06/0.5447, allocations: 0 / 0.5659 GB, free: 2.551 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1293/0.6739, allocations: 59.97 MB / 0.6244 GB, free: 6.461 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.82/17.5, allocations: 15.98 kB / 0.6245 GB, free: 6.445 MB / 494.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_2/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_2/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: 28.192759282886982]