Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.001726/0.001726, allocations: 120.4 kB / 17.79 MB, free: 5.285 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.002067/0.002067, allocations: 199.3 kB / 20.74 MB, free: 2.344 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.576/1.576, allocations: 230.6 MB / 254.1 MB, free: 15.1 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: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 47.92 kB / 373.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1054, allocations: 53.34 MB / 426.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.254/0.3594, allocations: 8.909 MB / 435.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006793/0.3662, allocations: 2.895 MB / 438.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.3683, allocations: 57.12 kB / 438.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002621/0.3709, allocations: 0.6446 MB / 439.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00367/0.3746, allocations: 0.7351 MB / 440.1 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.3758, allocations: 331.6 kB / 440.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003796/0.3796, allocations: 2.23 MB / 442.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.3818, allocations: 1.278 MB / 443.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.3844, allocations: 1.06 MB / 444.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.3872, allocations: 1.312 MB / 446.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005697/0.3877, allocations: 269 kB / 446.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.389, allocations: 370.8 kB / 446.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009058/0.3899, allocations: 0.7633 MB / 447.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001614/0.3915, allocations: 1.218 MB / 448.9 MB, free: 488 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006225/0.3977, allocations: 3.539 MB / 452.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3977, allocations: 4 kB / 452.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3977, allocations: 0.9375 kB / 452.4 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001951/0.3979, allocations: 0 / 452.4 MB, free: 15.21 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.008618/0.4066, allocations: 2.558 MB / 455 MB, free: 13.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4066, allocations: 9 kB / 455 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.4077, allocations: 268.1 kB / 455.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00304/0.4107, allocations: 1.315 MB / 456.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.4109, allocations: 135.6 kB / 456.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003513/0.4112, allocations: 184 kB / 456.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005164/0.4164, allocations: 2.376 MB / 459.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.638e-05/0.4164, allocations: 7.688 kB / 459.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/0.4166, allocations: 75.92 kB / 459.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001241/0.4168, allocations: 92.34 kB / 459.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004183/0.421, allocations: 1.967 MB / 461.4 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.436, allocations: 7.075 MB / 468.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.4384, allocations: 1.223 MB / 469.7 MB, free: 3.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.44, allocations: 0.8137 MB / 470.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.4403, allocations: 120.8 kB / 470.6 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.4403, allocations: 42.75 kB / 470.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 3.006e-06/0.4403, allocations: 0 / 470.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of matching and sorting (n=104): time 0.016/0.4563, allocations: 6.108 MB / 476.8 MB, free: 14.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.4564, allocations: 68.41 kB / 476.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.4586, allocations: 1.223 MB / 478.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.4587, allocations: 41.7 kB / 478.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007987/0.4595, allocations: 0.887 MB / 479 MB, free: 11.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.4599, allocations: 384.8 kB / 479.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/0.4603, allocations: 222.9 kB / 479.6 MB, free: 11.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.4605, allocations: 353.9 kB / 479.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.4617, allocations: 0.6194 MB / 480.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.4631, allocations: 0.9188 MB / 481.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.4657, allocations: 1.639 MB / 483.1 MB, free: 7.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/0.4657, allocations: 4 kB / 483.1 MB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004614/0.4703, allocations: 2.216 MB / 485.3 MB, free: 5.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.4704, allocations: 14.59 kB / 485.3 MB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/0.4704, allocations: 12 kB / 485.3 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/0.4717, allocations: 483.9 kB / 485.8 MB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.4728, allocations: 271.6 kB / 486.1 MB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008201/0.481, allocations: 7.02 MB / 493.1 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.4826, allocations: 83.91 kB / 493.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.4827, allocations: 47.94 kB / 493.2 MB, free: 12.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (132): * Single equations (assignments): 127 * 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%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001379/0.484, allocations: 0.599 MB / 493.8 MB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004683/0.4845, allocations: 143.1 kB / 494 MB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004486/0.489, allocations: 2.02 MB / 496 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.489, allocations: 12 kB / 496 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.489, allocations: 4 kB / 496 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.489, allocations: 3.984 kB / 496 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008536/0.4976, allocations: 4.203 MB / 0.4885 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.4976, allocations: 4.469 kB / 0.4885 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/0.4984, allocations: 179.8 kB / 0.4887 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.5001, allocations: 0.5221 MB / 0.4892 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.5002, allocations: 39.91 kB / 0.4892 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/0.5105, allocations: 8.63 MB / 0.4976 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.5105, allocations: 4 kB / 0.4976 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005958/0.5165, allocations: 2.942 MB / 0.5005 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.5179, allocations: 354.7 kB / 0.5009 GB, free: 8.426 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.5181, allocations: 24 kB / 0.5009 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000904/0.519, allocations: 87.78 kB / 0.501 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003276/0.5193, allocations: 84.83 kB / 0.501 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.358e-05/0.5194, allocations: 35.98 kB / 0.5011 GB, free: 8.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001648/0.5211, allocations: 0.8383 MB / 0.5019 GB, free: 7.355 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5211, allocations: 4 kB / 0.5019 GB, free: 7.352 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001806/0.5229, allocations: 412 kB / 0.5023 GB, free: 6.949 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.phi) * 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 (88): * Single equations (assignments): 83 * 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,6,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.0004237/0.5233, allocations: 191.5 kB / 0.5025 GB, free: 6.754 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004534/0.5278, allocations: 2.095 MB / 0.5045 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.5278, allocations: 4 kB / 0.5045 GB, free: 4.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00267/0.5305, allocations: 1.432 MB / 0.5059 GB, free: 3.07 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.5327, allocations: 381.9 kB / 0.5063 GB, free: 2.719 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/0.5402, allocations: 3.953 MB / 0.5101 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/0.5419, allocations: 1.642 MB / 0.5117 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001063/0.543, allocations: 299.8 kB / 0.512 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003097/0.5433, allocations: 95.42 kB / 0.5121 GB, free: 12.61 MB / 430.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5433, allocations: 0 / 0.5121 GB, free: 12.61 MB / 430.1 MB Notification: Performance of Templates: time 0.04571/0.589, allocations: 23.01 MB / 0.5346 GB, free: 5.812 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.0083651430904865]