Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 108.6 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 43.94 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.27, allocations: 52.19 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01812/0.2882, allocations: 9.758 MB / 433.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01071/0.2989, allocations: 3.588 MB / 437.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002473/0.3014, allocations: 59.62 kB / 437.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004088/0.3054, allocations: 0.7063 MB / 438 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005988/0.3114, allocations: 0.8856 MB / 438.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.3146, allocations: 478.4 kB / 439.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006883/0.3214, allocations: 2.639 MB / 442 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.3251, allocations: 1.109 MB / 443.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003342/0.3284, allocations: 1.215 MB / 444.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.3328, allocations: 1.545 MB / 445.9 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.3339, allocations: 307.9 kB / 446.2 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002609/0.3365, allocations: 0.6477 MB / 446.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002351/0.3388, allocations: 1.04 MB / 447.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003837/0.3427, allocations: 1.485 MB / 449.4 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009924/0.3526, allocations: 4.308 MB / 453.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.3526, allocations: 0 / 453.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3526, allocations: 0 / 453.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001375/0.3528, allocations: 4 kB / 453.7 MB, free: 0.7812 MB / 350.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.0132/0.366, allocations: 3.169 MB / 456.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.366, allocations: 12.03 kB / 456.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/0.3679, allocations: 338.9 kB / 457.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/0.3728, allocations: 1.63 MB / 458.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/0.3731, allocations: 156 kB / 459 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007411/0.3738, allocations: 207.9 kB / 459.2 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006571/0.3804, allocations: 2.69 MB / 461.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-05/0.3804, allocations: 11.89 kB / 461.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/0.3808, allocations: 80 kB / 462 MB, free: 8.324 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.3809, allocations: 95.92 kB / 462.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005121/0.3861, allocations: 2.28 MB / 464.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/0.4018, allocations: 8.017 MB / 472.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.4049, allocations: 1.325 MB / 473.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.407, allocations: 1.023 MB / 474.7 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002435/0.4072, allocations: 52.95 kB / 474.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.4073, allocations: 47.5 kB / 474.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 4.018e-06/0.4073, allocations: 0 / 474.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01398/0.4212, allocations: 6.107 MB / 480.9 MB, free: 5.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.4213, allocations: 72.66 kB / 481 MB, free: 5.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003269/0.4246, allocations: 2.152 MB / 483.1 MB, free: 2.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.4248, allocations: 49.7 kB / 483.2 MB, free: 2.781 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000992/0.4258, allocations: 1.126 MB / 484.3 MB, free: 1.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004838/0.4262, allocations: 479.9 kB / 484.8 MB, free: 1.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/0.4267, allocations: 243.5 kB / 485 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.4268, allocations: 353.9 kB / 485.4 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.4283, allocations: 0.7613 MB / 486.1 MB, free: 15.81 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.4298, allocations: 1.009 MB / 487.1 MB, free: 14.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003033/0.4329, allocations: 1.873 MB / 489 MB, free: 12.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.4329, allocations: 4 kB / 489 MB, free: 12.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006044/0.4389, allocations: 2.743 MB / 491.7 MB, free: 9.984 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.4389, allocations: 12 kB / 491.8 MB, free: 9.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.439, allocations: 4 kB / 491.8 MB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/0.4411, allocations: 0.7811 MB / 492.5 MB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.4425, allocations: 275.6 kB / 492.8 MB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.4557, allocations: 9.391 MB / 0.4904 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.4571, allocations: 91.89 kB / 0.4905 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.4573, allocations: 59.98 kB / 0.4906 GB, free: 15.14 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.001369/0.4586, allocations: 0.7394 MB / 0.4913 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004196/0.4591, allocations: 214.6 kB / 0.4915 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004732/0.4638, allocations: 2.469 MB / 0.4939 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.819e-05/0.4638, allocations: 12 kB / 0.4939 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.4638, allocations: 8 kB / 0.4939 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.4639, allocations: 11.91 kB / 0.4939 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009633/0.4735, allocations: 4.89 MB / 0.4987 GB, free: 6.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/0.4735, allocations: 7.938 kB / 0.4987 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.4746, allocations: 219.6 kB / 0.4989 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001865/0.4764, allocations: 0.6513 MB / 0.4996 GB, free: 5.801 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.4765, allocations: 35.97 kB / 0.4996 GB, free: 5.766 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.4868, allocations: 8.412 MB / 0.5078 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4868, allocations: 4.031 kB / 0.5078 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006484/0.4933, allocations: 3.529 MB / 0.5113 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.4944, allocations: 378.6 kB / 0.5116 GB, free: 9.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.4947, allocations: 28 kB / 0.5117 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009925/0.4957, allocations: 83.89 kB / 0.5117 GB, free: 8.961 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000317/0.4961, allocations: 116.7 kB / 0.5118 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.4962, allocations: 47.98 kB / 0.5119 GB, free: 8.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002228/0.4984, allocations: 1.519 MB / 0.5134 GB, free: 7.254 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4984, allocations: 0 / 0.5134 GB, free: 7.254 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001833/0.5002, allocations: 0.5195 MB / 0.5139 GB, free: 6.734 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.001649/0.5019, allocations: 465 kB / 0.5143 GB, free: 6.402 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004537/0.5064, allocations: 2.305 MB / 0.5166 GB, free: 4.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5064, allocations: 4 kB / 0.5166 GB, free: 4.066 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.5091, allocations: 1.453 MB / 0.518 GB, free: 2.578 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002354/0.5115, allocations: 445.2 kB / 0.5184 GB, free: 2.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009545/0.521, allocations: 5.283 MB / 0.5236 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/0.5228, allocations: 1.932 MB / 0.5255 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006546/0.5235, allocations: 143.4 kB / 0.5256 GB, free: 10.69 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5235, allocations: 0 / 0.5256 GB, free: 10.69 MB / 446.1 MB Notification: Performance of Templates: time 0.2631/0.7866, allocations: 64.15 MB / 0.5883 GB, free: 64.24 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_withLosses/IMC_withLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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: 14.952813185984269]