Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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.001355/0.001355, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001576/0.001576, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.475/1.475, allocations: 230.6 MB / 254.1 MB, free: 15.07 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_withLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 51.91 kB / 373 MB, free: 10.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1018, allocations: 53.32 MB / 426.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.2518/0.3536, allocations: 9.755 MB / 436.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007818/0.3614, allocations: 3.779 MB / 439.9 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.3634, allocations: 59.91 kB / 439.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002563/0.366, allocations: 0.7056 MB / 440.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003671/0.3697, allocations: 0.9085 MB / 441.6 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.3713, allocations: 474.7 kB / 442 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004443/0.3758, allocations: 2.669 MB / 444.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/0.3783, allocations: 1.388 MB / 446.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.381, allocations: 1.231 MB / 447.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003364/0.3844, allocations: 1.549 MB / 448.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009995/0.3854, allocations: 305.5 kB / 449.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002115/0.3875, allocations: 0.5739 MB / 449.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001685/0.3892, allocations: 1.039 MB / 450.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003634/0.3928, allocations: 1.484 MB / 452.3 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007224/0.4, allocations: 4.325 MB / 456.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4, allocations: 0 / 456.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4, allocations: 0 / 456.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001467/0.4002, allocations: 0 / 456.6 MB, free: 12.06 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.008252/0.4084, allocations: 3.259 MB / 459.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4085, allocations: 9.219 kB / 459.8 MB, free: 9.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006992/0.4092, allocations: 365.5 kB / 460.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.4106, allocations: 374.8 kB / 460.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003647/0.4142, allocations: 1.746 MB / 462.3 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.4144, allocations: 155.8 kB / 462.5 MB, free: 7.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.4148, allocations: 219.8 kB / 462.7 MB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005718/0.4206, allocations: 2.723 MB / 465.4 MB, free: 6.273 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.4206, allocations: 6.188 kB / 465.4 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.4208, allocations: 84 kB / 465.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.421, allocations: 105.7 kB / 465.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004702/0.4257, allocations: 2.294 MB / 467.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.4421, allocations: 8.234 MB / 476.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.4454, allocations: 1.538 MB / 477.7 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.4476, allocations: 1.028 MB / 478.7 MB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/0.4479, allocations: 131.1 kB / 478.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.448, allocations: 43.56 kB / 478.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 3.867e-06/0.448, allocations: 0 / 478.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01533/0.4633, allocations: 6.477 MB / 485.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.4634, allocations: 68.72 kB / 485.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003893/0.4673, allocations: 2.181 MB / 487.6 MB, free: 2.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002938/0.4676, allocations: 49.7 kB / 487.6 MB, free: 2.836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.4686, allocations: 1.153 MB / 488.8 MB, free: 1.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005548/0.4691, allocations: 479.9 kB / 489.3 MB, free: 1.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004614/0.4696, allocations: 243.5 kB / 489.5 MB, free: 0.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4698, allocations: 365.8 kB / 489.8 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.4712, allocations: 0.7574 MB / 490.6 MB, free: 15.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.4729, allocations: 1.009 MB / 491.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003184/0.4761, allocations: 1.869 MB / 493.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/0.4761, allocations: 5.312 kB / 493.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005899/0.482, allocations: 2.747 MB / 496.2 MB, free: 10 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.482, allocations: 12 kB / 496.2 MB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/0.482, allocations: 11.94 kB / 496.3 MB, free: 9.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002237/0.4843, allocations: 0.7778 MB / 497 MB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4856, allocations: 271.6 kB / 497.3 MB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/0.4989, allocations: 9.602 MB / 0.495 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.5005, allocations: 83.91 kB / 0.4951 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.5007, allocations: 60.05 kB / 0.4952 GB, free: 14.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001429/0.5021, allocations: 0.74 MB / 0.4959 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/0.5026, allocations: 214.6 kB / 0.4961 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004993/0.5076, allocations: 2.485 MB / 0.4985 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/0.5076, allocations: 12 kB / 0.4985 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/0.5076, allocations: 9.125 kB / 0.4985 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.549e-05/0.5077, allocations: 3.984 kB / 0.4985 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009874/0.5175, allocations: 4.95 MB / 0.5034 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.5175, allocations: 0 / 0.5034 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.5186, allocations: 215.6 kB / 0.5036 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.5206, allocations: 0.6538 MB / 0.5042 GB, free: 5.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.5207, allocations: 39.97 kB / 0.5043 GB, free: 5.477 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.5314, allocations: 8.726 MB / 0.5128 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5314, allocations: 0 / 0.5128 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00702/0.5384, allocations: 3.522 MB / 0.5162 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001435/0.5398, allocations: 465.6 kB / 0.5167 GB, free: 8.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003546/0.5402, allocations: 35.92 kB / 0.5167 GB, free: 8.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.5412, allocations: 79.98 kB / 0.5168 GB, free: 8.176 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.5416, allocations: 108.8 kB / 0.5169 GB, free: 8.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.5417, allocations: 43.97 kB / 0.5169 GB, free: 8.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002699/0.5444, allocations: 1.536 MB / 0.5184 GB, free: 6.469 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5444, allocations: 0 / 0.5184 GB, free: 6.469 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002093/0.5465, allocations: 0.5235 MB / 0.5189 GB, free: 5.945 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 91 * Array equations: 2 * 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,6,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008529/0.555, allocations: 4.462 MB / 0.5233 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004851/0.5598, allocations: 2.295 MB / 0.5255 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.5599, allocations: 0 / 0.5255 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002856/0.5627, allocations: 1.542 MB / 0.527 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/0.5653, allocations: 460.4 kB / 0.5275 GB, free: 13.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0399/0.6052, allocations: 21.16 MB / 0.5481 GB, free: 7.637 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/0.6074, allocations: 1.967 MB / 0.5501 GB, free: 5.637 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001444/0.6088, allocations: 395.8 kB / 0.5504 GB, free: 5.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/0.6104, allocations: 0.9835 MB / 0.5514 GB, free: 4.262 MB / 462.1 MB Notification: Performance of SimCode: time 1.753e-06/0.6104, allocations: 0 / 0.5514 GB, free: 4.262 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/0.7492, allocations: 51.74 MB / 0.6019 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.65/24.4, allocations: 14.78 kB / 0.6019 GB, free: 0.8672 MB / 0.4981 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_withLosses.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 34.70204744581133]