Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001487/0.001487, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_trunk_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_trunk_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.001835/0.001835, allocations: 59.91 kB / 378.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2766, allocations: 53.41 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL): time 0.0198/0.2964, allocations: 15.03 MB / 447 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.3083, allocations: 5.39 MB / 452.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.3113, allocations: 127.2 kB / 452.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004178/0.3155, allocations: 1.25 MB / 453.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00597/0.3215, allocations: 1.635 MB / 455.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003576/0.3251, allocations: 1.078 MB / 456.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009528/0.3346, allocations: 5.234 MB / 461.7 MB, free: 8.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005565/0.3401, allocations: 2.317 MB / 464 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004195/0.3443, allocations: 2.251 MB / 466.2 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005406/0.3497, allocations: 2.678 MB / 468.9 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001992/0.3517, allocations: 0.6133 MB / 469.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.3546, allocations: 0.8396 MB / 470.4 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002305/0.3569, allocations: 1.445 MB / 471.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005101/0.362, allocations: 2.101 MB / 473.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.3752, allocations: 8.206 MB / 482.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3752, allocations: 0 / 482.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3752, allocations: 0 / 482.1 MB, free: 4.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002851/0.3755, allocations: 3.938 kB / 482.1 MB, free: 4.02 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.01722/0.3927, allocations: 5.445 MB / 487.6 MB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3928, allocations: 15.97 kB / 487.6 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001666/0.3929, allocations: 115.8 kB / 487.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0018/0.3947, allocations: 0.6105 MB / 488.3 MB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/0.4011, allocations: 1.032 MB / 489.3 MB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007029/0.4081, allocations: 2.945 MB / 492.3 MB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/0.4084, allocations: 300.1 kB / 492.6 MB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001037/0.4094, allocations: 403.9 kB / 493 MB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.4211, allocations: 5.376 MB / 498.4 MB, free: 3.531 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.25e-05/0.4212, allocations: 4 kB / 498.4 MB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004886/0.4217, allocations: 160 kB / 498.5 MB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/0.4219, allocations: 176 kB / 498.7 MB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.4324, allocations: 4.474 MB / 0.4914 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03489/0.4673, allocations: 14.93 MB / 0.5059 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007033/0.4743, allocations: 3.238 MB / 0.5091 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/0.4787, allocations: 1.986 MB / 0.511 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.489, allocations: 4.209 MB / 0.5152 GB, free: 6.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.452e-05/0.4891, allocations: 51.88 kB / 0.5152 GB, free: 5.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=159): time 5.01e-06/0.4891, allocations: 0 / 0.5152 GB, free: 5.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=187): time 0.01911/0.5082, allocations: 7.458 MB / 0.5225 GB, free: 14.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.5083, allocations: 77.34 kB / 0.5226 GB, free: 14.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004896/0.5132, allocations: 2.315 MB / 0.5248 GB, free: 12.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003478/0.5135, allocations: 57.7 kB / 0.5249 GB, free: 12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/0.5153, allocations: 1.913 MB / 0.5267 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008077/0.5161, allocations: 0.6662 MB / 0.5274 GB, free: 9.391 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009638/0.5171, allocations: 428.5 kB / 0.5278 GB, free: 8.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.5172, allocations: 305.1 kB / 0.5281 GB, free: 8.664 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001975/0.5192, allocations: 0.965 MB / 0.529 GB, free: 7.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.5218, allocations: 1.715 MB / 0.5307 GB, free: 5.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/0.5266, allocations: 2.846 MB / 0.5335 GB, free: 2.488 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.396e-05/0.5266, allocations: 4 kB / 0.5335 GB, free: 2.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=302) (initialization): time 0.2284/0.7549, allocations: 3.329 MB / 0.5367 GB, free: 97.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.845e-05/0.755, allocations: 17.88 kB / 0.5368 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-05/0.7551, allocations: 21.62 kB / 0.5368 GB, free: 97.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.7564, allocations: 374.9 kB / 0.5371 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/0.7587, allocations: 0.552 MB / 0.5377 GB, free: 97.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005219/0.764, allocations: 5.215 MB / 0.5428 GB, free: 94.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002221/0.7662, allocations: 117.8 kB / 0.5429 GB, free: 94.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/0.7664, allocations: 105.8 kB / 0.543 GB, free: 94.19 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.002132/0.7686, allocations: 1.222 MB / 0.5442 GB, free: 93.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/0.7691, allocations: 266.6 kB / 0.5444 GB, free: 93.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/0.7735, allocations: 2.717 MB / 0.5471 GB, free: 92.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.7735, allocations: 18.59 kB / 0.5471 GB, free: 92.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.7735, allocations: 3.875 kB / 0.5471 GB, free: 92.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.7735, allocations: 14.39 kB / 0.5471 GB, free: 92.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008446/0.782, allocations: 5.969 MB / 0.553 GB, free: 89.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.782, allocations: 3.312 kB / 0.553 GB, free: 89.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/0.7834, allocations: 351.8 kB / 0.5533 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009579/0.7844, allocations: 396.7 kB / 0.5537 GB, free: 89.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.7845, allocations: 58.08 kB / 0.5537 GB, free: 89.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005572/0.7901, allocations: 7.268 MB / 0.5608 GB, free: 82.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7901, allocations: 13.56 kB / 0.5608 GB, free: 82.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0056/0.7957, allocations: 4.033 MB / 0.5648 GB, free: 79.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.797, allocations: 487.4 kB / 0.5652 GB, free: 79.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004725/0.7974, allocations: 36 kB / 0.5653 GB, free: 79.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.7988, allocations: 92.33 kB / 0.5654 GB, free: 79.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003074/0.7991, allocations: 146.3 kB / 0.5655 GB, free: 78.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.7992, allocations: 51.98 kB / 0.5656 GB, free: 78.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00207/0.8013, allocations: 1.569 MB / 0.5671 GB, free: 77.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8013, allocations: 0 / 0.5671 GB, free: 77.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002456/0.8037, allocations: 0.7148 MB / 0.5678 GB, free: 76.59 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.005909/0.8096, allocations: 4.664 MB / 0.5723 GB, free: 71.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004002/0.8136, allocations: 2.688 MB / 0.575 GB, free: 69.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.8136, allocations: 0 / 0.575 GB, free: 69.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002141/0.8158, allocations: 1.564 MB / 0.5765 GB, free: 67.62 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.8186, allocations: 0.6299 MB / 0.5771 GB, free: 67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03579/0.8544, allocations: 25.7 MB / 0.6022 GB, free: 40.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/0.857, allocations: 2.182 MB / 0.6043 GB, free: 38.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001898/0.8589, allocations: 0.5796 MB / 0.6049 GB, free: 37.55 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001775/0.8606, allocations: 1.507 MB / 0.6064 GB, free: 36.04 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.8606, allocations: 0 / 0.6064 GB, free: 36.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/0.9769, allocations: 67.07 MB / 0.6719 GB, free: 1.562 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.03/19.01, allocations: 14.03 kB / 0.6719 GB, free: 1.551 MB / 478.1 MB " [Timeout remaining time 641] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_SMEE_DOL.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.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: 35.84281988395378]