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.006288/0.006288, allocations: 110.5 kB / 21.97 MB, free: 5.188 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.001679/0.001679, allocations: 215.1 kB / 25.28 MB, free: 3.211 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.377/1.377, allocations: 207.6 MB / 236 MB, free: 10 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="cs",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="cs",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.001657/0.001657, allocations: 55.92 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3104, allocations: 49.15 MB / 397.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_DOL): time 0.01873/0.3291, allocations: 16.71 MB / 413.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01414/0.3432, allocations: 5.486 MB / 419.4 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004875/0.3481, allocations: 115 kB / 419.5 MB, free: 8.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003943/0.3521, allocations: 1.289 MB / 420.8 MB, free: 8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00701/0.3591, allocations: 1.609 MB / 422.4 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.3628, allocations: 1.108 MB / 423.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009634/0.3724, allocations: 5.124 MB / 428.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004915/0.3773, allocations: 2.212 MB / 430.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.3818, allocations: 2.233 MB / 433 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006115/0.3879, allocations: 2.635 MB / 435.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002119/0.3901, allocations: 0.6133 MB / 436.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003887/0.3939, allocations: 0.8395 MB / 437.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002782/0.3967, allocations: 1.429 MB / 438.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005774/0.4025, allocations: 2.637 MB / 441.2 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01209/0.4146, allocations: 8.106 MB / 449.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.4146, allocations: 4 kB / 449.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.4146, allocations: 0 / 449.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002114/0.4148, allocations: 0 / 449.3 MB, free: 14.95 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.01509/0.4299, allocations: 5.41 MB / 454.7 MB, free: 9.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.43, allocations: 11.98 kB / 454.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001647/0.4301, allocations: 119.8 kB / 454.8 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001024/0.4311, allocations: 0.6066 MB / 455.4 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005258/0.4364, allocations: 1.009 MB / 456.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006887/0.4433, allocations: 2.753 MB / 459.2 MB, free: 4.914 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/0.4436, allocations: 304.1 kB / 459.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001029/0.4446, allocations: 395.9 kB / 459.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.4563, allocations: 5.217 MB / 465.1 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.4564, allocations: 7.922 kB / 465.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/0.4569, allocations: 171.9 kB / 465.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002518/0.4571, allocations: 168 kB / 465.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008998/0.4661, allocations: 4.451 MB / 469.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02883/0.4949, allocations: 16.34 MB / 486.2 MB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006049/0.501, allocations: 3.211 MB / 489.5 MB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/0.5041, allocations: 1.557 MB / 491 MB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00948/0.5135, allocations: 4.316 MB / 495.3 MB, free: 392 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.5136, allocations: 47.88 kB / 495.4 MB, free: 336 kB / 398.1 MB Notification: Performance of pre-optimization done (n=158): time 3.417e-06/0.5136, allocations: 0 / 495.4 MB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=186): time 0.01787/0.5315, allocations: 7.252 MB / 0.4908 GB, free: 9.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.5315, allocations: 73.41 kB / 0.4909 GB, free: 8.953 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005317/0.5369, allocations: 2.283 MB / 0.4931 GB, free: 6.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.537, allocations: 57.7 kB / 0.4932 GB, free: 6.582 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00191/0.5389, allocations: 1.905 MB / 0.4951 GB, free: 4.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006874/0.5396, allocations: 0.6623 MB / 0.4957 GB, free: 3.988 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007994/0.5404, allocations: 428.5 kB / 0.4961 GB, free: 3.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5406, allocations: 309.1 kB / 0.4964 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.5424, allocations: 0.9572 MB / 0.4973 GB, free: 2.297 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.5448, allocations: 1.687 MB / 0.499 GB, free: 288 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004584/0.5493, allocations: 2.816 MB / 0.5017 GB, free: 13.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/0.5494, allocations: 8 kB / 0.5017 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.006519/0.5559, allocations: 3.248 MB / 0.5049 GB, free: 9.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.847e-05/0.5559, allocations: 12 kB / 0.5049 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.747e-05/0.556, allocations: 24 kB / 0.505 GB, free: 9.836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.5571, allocations: 322.7 kB / 0.5053 GB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.5592, allocations: 0.5616 MB / 0.5058 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006346/0.5655, allocations: 4.812 MB / 0.5105 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/0.5674, allocations: 119.8 kB / 0.5106 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.5676, allocations: 104 kB / 0.5107 GB, free: 3.691 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 (280): * Single equations (assignments): 277 * 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,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00248/0.5701, allocations: 1.219 MB / 0.5119 GB, free: 2.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007683/0.5709, allocations: 270.3 kB / 0.5122 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/0.5766, allocations: 2.623 MB / 0.5147 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.19e-05/0.5766, allocations: 23.94 kB / 0.5148 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/0.5766, allocations: 4 kB / 0.5148 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.078e-05/0.5766, allocations: 7.969 kB / 0.5148 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.59, allocations: 6.22 MB / 0.5208 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.59, allocations: 224 / 0.5208 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.5916, allocations: 355.5 kB / 0.5212 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009996/0.5926, allocations: 358.4 kB / 0.5215 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.5927, allocations: 47.98 kB / 0.5216 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008765/0.6015, allocations: 6.894 MB / 0.5283 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.6015, allocations: 4.031 kB / 0.5283 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007952/0.6094, allocations: 3.919 MB / 0.5321 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.611, allocations: 486.1 kB / 0.5326 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006189/0.6116, allocations: 40 kB / 0.5326 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.6131, allocations: 87.92 kB / 0.5327 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/0.6134, allocations: 145.7 kB / 0.5329 GB, free: 12.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.6136, allocations: 51.98 kB / 0.5329 GB, free: 12.44 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003661/0.6172, allocations: 1.549 MB / 0.5344 GB, free: 10.88 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6172, allocations: 0 / 0.5344 GB, free: 10.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003324/0.6206, allocations: 0.707 MB / 0.5351 GB, free: 10.17 MB / 462.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.stator.strayReluctance.Phi.re,smee.stator.strayReluctance.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 (159): * Single equations (assignments): 156 * 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,5,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.008295/0.6288, allocations: 4.558 MB / 0.5396 GB, free: 5.555 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005151/0.634, allocations: 2.632 MB / 0.5421 GB, free: 2.895 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.634, allocations: 0 / 0.5421 GB, free: 2.895 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002787/0.6368, allocations: 1.543 MB / 0.5436 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/0.6406, allocations: 0.6129 MB / 0.5442 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2436/0.8842, allocations: 25.45 MB / 0.5691 GB, free: 141.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002969/0.8872, allocations: 2.709 MB / 0.5717 GB, free: 140.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00194/0.8891, allocations: 0.5846 MB / 0.5723 GB, free: 140.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/0.8906, allocations: 1.485 MB / 0.5738 GB, free: 139.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.373e-06/0.8906, allocations: 1.25 kB / 0.5738 GB, free: 139.4 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1116/1.002, allocations: 64.9 MB / 0.6371 GB, free: 85.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.86/17.86, allocations: 11.89 kB / 0.6371 GB, free: 85.29 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 652] Reference file matches [Calling sys.exit(0), Time elapsed: 34.263998958980665]