Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.001672/0.001672, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001927/0.001927, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.502/1.502, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 63.89 kB / 373.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1193, allocations: 53.32 MB / 426.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.2558/0.3751, allocations: 9.484 MB / 436.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.3805, allocations: 3.052 MB / 439.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.3822, allocations: 52.34 kB / 439.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.3842, allocations: 0.6699 MB / 439.9 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003194/0.3874, allocations: 0.8144 MB / 440.7 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.3884, allocations: 365.8 kB / 441.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003617/0.392, allocations: 2.672 MB / 443.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.3941, allocations: 1.534 MB / 445.3 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.3964, allocations: 1.21 MB / 446.5 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002993/0.3994, allocations: 1.532 MB / 448 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.4006, allocations: 310.7 kB / 448.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001891/0.4024, allocations: 410.8 kB / 448.7 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.4038, allocations: 0.9014 MB / 449.7 MB, free: 472 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002488/0.4063, allocations: 1.403 MB / 451.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006348/0.4127, allocations: 4.123 MB / 455.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4127, allocations: 5.375 kB / 455.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4127, allocations: 0 / 455.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001374/0.4128, allocations: 0 / 455.2 MB, free: 13.8 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.007266/0.4201, allocations: 2.93 MB / 458.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.4201, allocations: 9.844 kB / 458.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005101/0.4207, allocations: 298.2 kB / 458.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.4219, allocations: 329.1 kB / 458.7 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003659/0.4256, allocations: 1.567 MB / 460.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.4257, allocations: 153.5 kB / 460.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003794/0.4261, allocations: 204.5 kB / 460.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005344/0.4314, allocations: 2.739 MB / 463.4 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.839e-05/0.4315, allocations: 7.234 kB / 463.4 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.4317, allocations: 85.64 kB / 463.5 MB, free: 8.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.4318, allocations: 96.42 kB / 463.6 MB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004461/0.4363, allocations: 2.321 MB / 465.9 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01595/0.4523, allocations: 8.334 MB / 474.2 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.4547, allocations: 1.709 MB / 475.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.4567, allocations: 1.011 MB / 476.9 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.457, allocations: 126.1 kB / 477.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.457, allocations: 43.56 kB / 477.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.446e-06/0.457, allocations: 0 / 477.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01427/0.4713, allocations: 6.246 MB / 483.4 MB, free: 7.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.4714, allocations: 68.41 kB / 483.4 MB, free: 7.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/0.4739, allocations: 1.521 MB / 484.9 MB, free: 6.281 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-05/0.474, allocations: 49.7 kB / 485 MB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008124/0.4748, allocations: 1.017 MB / 486 MB, free: 5.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004004/0.4752, allocations: 436.3 kB / 486.4 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004235/0.4756, allocations: 251.5 kB / 486.7 MB, free: 4.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.4758, allocations: 363 kB / 487 MB, free: 4.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.477, allocations: 0.73 MB / 487.8 MB, free: 3.426 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.4786, allocations: 1.059 MB / 488.8 MB, free: 2.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002736/0.4813, allocations: 1.875 MB / 490.7 MB, free: 236 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.4813, allocations: 4 kB / 490.7 MB, free: 232 kB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004271/0.4856, allocations: 2.35 MB / 493.1 MB, free: 13.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.4856, allocations: 12 kB / 493.1 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.4856, allocations: 8 kB / 493.1 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009952/0.4866, allocations: 407.5 kB / 493.5 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.4879, allocations: 332.3 kB / 493.8 MB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005715/0.4936, allocations: 5.068 MB / 498.9 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.495, allocations: 91.8 kB / 499 MB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.4952, allocations: 63.98 kB / 499 MB, free: 7.609 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001401/0.4966, allocations: 0.7081 MB / 499.7 MB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/0.497, allocations: 174.9 kB / 499.9 MB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.5008, allocations: 2.132 MB / 0.4903 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5009, allocations: 18.56 kB / 0.4903 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5009, allocations: 0 / 0.4903 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5009, allocations: 7.984 kB / 0.4903 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008505/0.5094, allocations: 4.558 MB / 0.4947 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.5094, allocations: 0 / 0.4947 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009618/0.5103, allocations: 219.7 kB / 0.495 GB, free: 15.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.5116, allocations: 471.1 kB / 0.4954 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/0.5117, allocations: 35.97 kB / 0.4954 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007374/0.519, allocations: 6.696 MB / 0.502 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.5191, allocations: 4 kB / 0.502 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005709/0.5248, allocations: 3.173 MB / 0.5051 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/0.5262, allocations: 407.9 kB / 0.5055 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.5264, allocations: 32 kB / 0.5055 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00083/0.5272, allocations: 75.91 kB / 0.5056 GB, free: 4.293 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.5275, allocations: 104.8 kB / 0.5057 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.919e-05/0.5276, allocations: 31.98 kB / 0.5057 GB, free: 4.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001768/0.5294, allocations: 1.052 MB / 0.5067 GB, free: 3.109 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5294, allocations: 0 / 0.5067 GB, free: 3.109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001802/0.5312, allocations: 475.9 kB / 0.5072 GB, free: 2.645 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006017/0.5372, allocations: 3.812 MB / 0.5109 GB, free: 14.76 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004064/0.5413, allocations: 2.207 MB / 0.5131 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.5413, allocations: 0 / 0.5131 GB, free: 12.49 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002402/0.5437, allocations: 1.437 MB / 0.5145 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.546, allocations: 459.9 kB / 0.5149 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02867/0.5747, allocations: 17.47 MB / 0.532 GB, free: 8.512 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/0.577, allocations: 1.826 MB / 0.5337 GB, free: 6.652 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001396/0.5784, allocations: 397.6 kB / 0.5341 GB, free: 6.258 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/0.5797, allocations: 0.8 MB / 0.5349 GB, free: 5.457 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5797, allocations: 0 / 0.5349 GB, free: 5.457 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.6831, allocations: 43.75 MB / 0.5776 GB, free: 10.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.58/21.26, allocations: 10.47 kB / 0.5776 GB, free: 10.05 MB / 494.1 MB " [Timeout remaining time 639] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL_fmu --startTime=0 --stopTime=1.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 26.285633973311633]