Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.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.001751/0.001751, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001522/0.001522, allocations: 209 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 47.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 53.36 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01205/0.2467, allocations: 8.635 MB / 439.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005994/0.2527, allocations: 2.921 MB / 442.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.2542, allocations: 59.62 kB / 442.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.256, allocations: 0.6171 MB / 443.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002408/0.2584, allocations: 0.7921 MB / 444.1 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009321/0.2593, allocations: 391.4 kB / 444.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00322/0.2625, allocations: 2.442 MB / 446.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.2642, allocations: 1.045 MB / 448 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.2659, allocations: 1.114 MB / 449.1 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.2682, allocations: 1.354 MB / 450.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004579/0.2686, allocations: 280 kB / 450.7 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007862/0.2694, allocations: 375.8 kB / 451.1 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008991/0.2703, allocations: 0.783 MB / 451.9 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.2716, allocations: 1.035 MB / 452.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004575/0.2761, allocations: 3.694 MB / 456.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2761, allocations: 3.938 kB / 456.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2761, allocations: 0 / 456.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001176/0.2763, allocations: 0 / 456.6 MB, free: 12.99 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.005416/0.2817, allocations: 2.58 MB / 459.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.2817, allocations: 8.031 kB / 459.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003723/0.2821, allocations: 286.6 kB / 459.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008101/0.2829, allocations: 283.4 kB / 459.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.2855, allocations: 1.294 MB / 461 MB, free: 8.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.2856, allocations: 151.9 kB / 461.2 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.2859, allocations: 188 kB / 461.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/0.2901, allocations: 2.519 MB / 463.9 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.682e-05/0.2901, allocations: 7.938 kB / 463.9 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.2903, allocations: 76 kB / 464 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.2904, allocations: 91.67 kB / 464.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.2939, allocations: 1.955 MB / 466 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01246/0.3063, allocations: 7.052 MB / 473.1 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.3081, allocations: 1.014 MB / 474.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/0.3099, allocations: 0.9055 MB / 475 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002419/0.3102, allocations: 48.91 kB / 475 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.3102, allocations: 43.56 kB / 475.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.106e-06/0.3102, allocations: 8 kB / 475.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.01291/0.3232, allocations: 5.505 MB / 480.6 MB, free: 4.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/0.3232, allocations: 68.34 kB / 480.7 MB, free: 4.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.3252, allocations: 1.325 MB / 482 MB, free: 3.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.205e-05/0.3253, allocations: 41.7 kB / 482 MB, free: 3.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007661/0.326, allocations: 0.9458 MB / 483 MB, free: 2.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.3264, allocations: 408.5 kB / 483.4 MB, free: 1.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.3268, allocations: 251.5 kB / 483.6 MB, free: 1.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.327, allocations: 357.9 kB / 484 MB, free: 1.102 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.328, allocations: 0.6403 MB / 484.6 MB, free: 472 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.3294, allocations: 1 MB / 485.6 MB, free: 15.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002533/0.3319, allocations: 1.731 MB / 487.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.3319, allocations: 4 kB / 487.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004056/0.336, allocations: 2.246 MB / 489.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.336, allocations: 12 kB / 489.6 MB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.336, allocations: 11.98 kB / 489.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.3374, allocations: 496.1 kB / 490.1 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.3385, allocations: 303.5 kB / 490.4 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00778/0.3463, allocations: 6.774 MB / 497.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.3475, allocations: 91.88 kB / 497.3 MB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.3476, allocations: 59.98 kB / 497.3 MB, free: 3.078 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.001027/0.3486, allocations: 0.6146 MB / 497.9 MB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.3489, allocations: 151.1 kB / 498.1 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/0.3524, allocations: 1.949 MB / 0.4883 GB, free: 336 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3524, allocations: 16 kB / 0.4883 GB, free: 320 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3524, allocations: 4 kB / 0.4883 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3525, allocations: 3.984 kB / 0.4883 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007326/0.3598, allocations: 3.859 MB / 0.4921 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.3598, allocations: 288 / 0.4921 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008724/0.3607, allocations: 191.7 kB / 0.4923 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.3623, allocations: 0.5387 MB / 0.4928 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/0.3624, allocations: 27.98 kB / 0.4928 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009282/0.3717, allocations: 8.292 MB / 0.5009 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.3717, allocations: 4.031 kB / 0.5009 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/0.3765, allocations: 2.856 MB / 0.5037 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008709/0.3774, allocations: 286.9 kB / 0.504 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.3776, allocations: 28 kB / 0.504 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007994/0.3784, allocations: 67.92 kB / 0.5041 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.3786, allocations: 96.8 kB / 0.5042 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/0.3787, allocations: 31.98 kB / 0.5042 GB, free: 15.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001361/0.3801, allocations: 0.8918 MB / 0.5051 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3801, allocations: 0 / 0.5051 GB, free: 14.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001485/0.3815, allocations: 440 kB / 0.5055 GB, free: 14.08 MB / 430.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.005158/0.3867, allocations: 3.475 MB / 0.5089 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003503/0.3902, allocations: 2.003 MB / 0.5109 GB, free: 8.488 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3902, allocations: 3.938 kB / 0.5109 GB, free: 8.484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.3926, allocations: 1.388 MB / 0.5122 GB, free: 7.043 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.3945, allocations: 419.7 kB / 0.5126 GB, free: 6.641 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02487/0.4193, allocations: 15.71 MB / 0.528 GB, free: 6.375 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.4206, allocations: 1.069 MB / 0.529 GB, free: 5.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001009/0.4216, allocations: 328.7 kB / 0.5293 GB, free: 4.941 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/0.4226, allocations: 0.7258 MB / 0.53 GB, free: 4.215 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4226, allocations: 0 / 0.53 GB, free: 4.215 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3299/0.7525, allocations: 43.23 MB / 0.5722 GB, free: 75.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.2, allocations: 10.05 kB / 0.5722 GB, free: 75.33 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 16.974474808986997]