Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.002/0.002, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002608/0.002608, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.485/1.485, allocations: 230.2 MB / 254.5 MB, free: 15.26 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_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.91 kB / 373.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1105, allocations: 53.32 MB / 426.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.2189/0.3293, allocations: 9.776 MB / 436.5 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005892/0.3352, allocations: 3.105 MB / 439.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.337, allocations: 49 kB / 439.6 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.3389, allocations: 0.6681 MB / 440.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002741/0.3417, allocations: 0.7843 MB / 441.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.3427, allocations: 383.7 kB / 441.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003476/0.3462, allocations: 2.435 MB / 443.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.3487, allocations: 1.284 MB / 445.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.3511, allocations: 1.091 MB / 446.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003117/0.3542, allocations: 1.351 MB / 447.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.3553, allocations: 280.6 kB / 447.9 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.3571, allocations: 380.1 kB / 448.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001607/0.3587, allocations: 0.776 MB / 449 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003391/0.3621, allocations: 1.272 MB / 450.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006418/0.3685, allocations: 3.676 MB / 454 MB, free: 14.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3685, allocations: 0 / 454 MB, free: 14.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3685, allocations: 0 / 454 MB, free: 14.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001369/0.3687, allocations: 1.375 kB / 454 MB, free: 14.37 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.006942/0.3756, allocations: 2.654 MB / 456.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3757, allocations: 9.125 kB / 456.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004262/0.3761, allocations: 281.8 kB / 456.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009658/0.377, allocations: 290 kB / 457.2 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003216/0.3803, allocations: 1.369 MB / 458.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.3804, allocations: 142.2 kB / 458.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.3808, allocations: 201.8 kB / 458.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004581/0.3854, allocations: 2.424 MB / 461.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.819e-05/0.3854, allocations: 3.938 kB / 461.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.3856, allocations: 75.19 kB / 461.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001203/0.3858, allocations: 88.19 kB / 461.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003707/0.3895, allocations: 1.967 MB / 463.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.4037, allocations: 7.774 MB / 471.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.4054, allocations: 1.171 MB / 472.4 MB, free: 1.977 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/0.4072, allocations: 0.9047 MB / 473.3 MB, free: 1.555 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.4075, allocations: 124.3 kB / 473.4 MB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4075, allocations: 39.69 kB / 473.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.846e-06/0.4075, allocations: 0 / 473.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.01415/0.4217, allocations: 5.894 MB / 479.4 MB, free: 12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.4217, allocations: 68.34 kB / 479.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/0.4245, allocations: 1.31 MB / 480.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.4246, allocations: 45.7 kB / 480.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00083/0.4255, allocations: 0.9458 MB / 481.7 MB, free: 9.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004123/0.4259, allocations: 412.5 kB / 482.1 MB, free: 9.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004728/0.4264, allocations: 251.5 kB / 482.4 MB, free: 8.922 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.4265, allocations: 353.9 kB / 482.7 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.4276, allocations: 0.6364 MB / 483.4 MB, free: 7.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.429, allocations: 1.004 MB / 484.4 MB, free: 6.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.4316, allocations: 1.745 MB / 486.1 MB, free: 4.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-05/0.4316, allocations: 0 / 486.1 MB, free: 4.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004157/0.4358, allocations: 2.242 MB / 488.3 MB, free: 2.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.4358, allocations: 12 kB / 488.4 MB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/0.4358, allocations: 8 kB / 488.4 MB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.4372, allocations: 492.7 kB / 488.8 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.4385, allocations: 307.5 kB / 489.1 MB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008465/0.447, allocations: 7.135 MB / 496.3 MB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.4485, allocations: 79.92 kB / 496.4 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/0.4487, allocations: 55.98 kB / 496.4 MB, free: 10.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001506/0.4502, allocations: 0.6183 MB / 497 MB, free: 9.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005258/0.4507, allocations: 151 kB / 497.2 MB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.4547, allocations: 1.957 MB / 499.1 MB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4547, allocations: 8 kB / 499.1 MB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.4547, allocations: 10.38 kB / 499.2 MB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.4547, allocations: 11.97 kB / 499.2 MB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008585/0.4633, allocations: 4.105 MB / 0.4915 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.4633, allocations: 0 / 0.4915 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008387/0.4642, allocations: 191.7 kB / 0.4917 GB, free: 2.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.4657, allocations: 0.5414 MB / 0.4922 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.4658, allocations: 27.92 kB / 0.4922 GB, free: 2.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/0.4758, allocations: 8.756 MB / 0.5008 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.906e-06/0.4758, allocations: 7.969 kB / 0.5008 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005222/0.481, allocations: 2.853 MB / 0.5036 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.4823, allocations: 360 kB / 0.5039 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/0.4828, allocations: 23.98 kB / 0.5039 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.4838, allocations: 75.92 kB / 0.504 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.4841, allocations: 88.84 kB / 0.5041 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.019e-05/0.4842, allocations: 35.98 kB / 0.5041 GB, free: 5.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001897/0.4861, allocations: 0.888 MB / 0.505 GB, free: 4.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4861, allocations: 0 / 0.505 GB, free: 4.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00215/0.4883, allocations: 447.9 kB / 0.5054 GB, free: 4.215 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (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,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.005572/0.4938, allocations: 3.475 MB / 0.5088 GB, free: 0.668 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003873/0.4977, allocations: 2.164 MB / 0.5109 GB, free: 14.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.4977, allocations: 4 kB / 0.5109 GB, free: 14.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/0.5002, allocations: 1.449 MB / 0.5123 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.5027, allocations: 430.1 kB / 0.5127 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02973/0.5325, allocations: 15.69 MB / 0.5281 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/0.5346, allocations: 1.646 MB / 0.5297 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001255/0.5358, allocations: 320.8 kB / 0.53 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/0.537, allocations: 0.7296 MB / 0.5307 GB, free: 9.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.393e-06/0.537, allocations: 0 / 0.5307 GB, free: 9.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.6386, allocations: 39.94 MB / 0.5697 GB, free: 1.945 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.92/20.55, allocations: 15 kB / 0.5697 GB, free: 1.934 MB / 478.1 MB " [Timeout remaining time 639] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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: 24.598540795966983]