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.001369/0.001369, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001441/0.001441, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.532/1.532, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.001639/0.001639, allocations: 47.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2534, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01057/0.2639, allocations: 7.882 MB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005351/0.2693, allocations: 2.727 MB / 443 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008669/0.2701, allocations: 55.62 kB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.2718, allocations: 0.5936 MB / 443.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.2739, allocations: 0.7534 MB / 444.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000737/0.2747, allocations: 323.6 kB / 444.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002611/0.2773, allocations: 2.233 MB / 446.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.2787, allocations: 0.9891 MB / 447.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001581/0.2803, allocations: 1.047 MB / 448.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.2823, allocations: 1.245 MB / 450.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00044/0.2827, allocations: 268 kB / 450.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008197/0.2836, allocations: 359.8 kB / 450.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009809/0.2845, allocations: 0.7674 MB / 451.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.2858, allocations: 0.9802 MB / 452.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004058/0.2899, allocations: 3.566 MB / 456.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2899, allocations: 0 / 456.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2899, allocations: 0 / 456.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.457e-05/0.2899, allocations: 0 / 456.1 MB, free: 14.85 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.005259/0.2952, allocations: 2.482 MB / 458.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2952, allocations: 8.031 kB / 458.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007764/0.296, allocations: 267.4 kB / 458.9 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.2986, allocations: 1.238 MB / 460.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.2988, allocations: 139.9 kB / 460.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003108/0.2991, allocations: 183.9 kB / 460.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/0.3034, allocations: 2.471 MB / 462.9 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.559e-05/0.3035, allocations: 11.89 kB / 462.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001881/0.3037, allocations: 72 kB / 463 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.3038, allocations: 95.5 kB / 463.1 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.3075, allocations: 1.958 MB / 465 MB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.319, allocations: 6.107 MB / 471.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00184/0.3208, allocations: 0.9971 MB / 472.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001765/0.3226, allocations: 0.8076 MB / 472.9 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.3228, allocations: 40.97 kB / 473 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.886e-05/0.3228, allocations: 43.56 kB / 473 MB, free: 13.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.196e-06/0.3228, allocations: 3.938 kB / 473 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.0145/0.3373, allocations: 5.649 MB / 478.7 MB, free: 7.898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3374, allocations: 64.41 kB / 478.7 MB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.339, allocations: 1.079 MB / 479.8 MB, free: 6.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/0.3391, allocations: 41.7 kB / 479.9 MB, free: 6.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007567/0.3399, allocations: 0.8942 MB / 480.7 MB, free: 5.773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.3402, allocations: 384.7 kB / 481.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003752/0.3406, allocations: 226.9 kB / 481.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.3408, allocations: 357.9 kB / 481.7 MB, free: 4.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/0.3419, allocations: 0.6116 MB / 482.3 MB, free: 4.199 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.3433, allocations: 0.9188 MB / 483.2 MB, free: 3.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002609/0.3459, allocations: 1.647 MB / 484.9 MB, free: 1.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.3459, allocations: 4 kB / 484.9 MB, free: 1.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004047/0.3499, allocations: 2.145 MB / 487 MB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.35, allocations: 8 kB / 487 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.35, allocations: 8 kB / 487 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.3512, allocations: 476.1 kB / 487.5 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009954/0.3522, allocations: 267.6 kB / 487.8 MB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007288/0.3595, allocations: 6.601 MB / 494.4 MB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3605, allocations: 83.78 kB / 494.4 MB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3607, allocations: 52 kB / 494.5 MB, free: 7.418 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.001137/0.3618, allocations: 0.5966 MB / 495.1 MB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.3621, allocations: 135.1 kB / 495.2 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/0.366, allocations: 1.928 MB / 497.2 MB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.366, allocations: 15.94 kB / 497.2 MB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.366, allocations: 8 kB / 497.2 MB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.366, allocations: 3.984 kB / 497.2 MB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007436/0.3734, allocations: 3.665 MB / 0.4891 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.3734, allocations: 4 kB / 0.4891 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007731/0.3742, allocations: 179.7 kB / 0.4893 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/0.3756, allocations: 0.5158 MB / 0.4898 GB, free: 236 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/0.3757, allocations: 39.98 kB / 0.4898 GB, free: 196 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009111/0.3848, allocations: 8.069 MB / 0.4977 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.3848, allocations: 4 kB / 0.4977 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005067/0.3899, allocations: 2.847 MB / 0.5005 GB, free: 4.789 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008923/0.3908, allocations: 271 kB / 0.5007 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.391, allocations: 31.94 kB / 0.5008 GB, free: 4.492 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007537/0.3917, allocations: 71.91 kB / 0.5008 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/0.392, allocations: 100.7 kB / 0.5009 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.3921, allocations: 31.98 kB / 0.501 GB, free: 4.293 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.3932, allocations: 0.7373 MB / 0.5017 GB, free: 3.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3932, allocations: 0 / 0.5017 GB, free: 3.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001623/0.3949, allocations: 407.9 kB / 0.5021 GB, free: 3.148 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.000419/0.3953, allocations: 179 kB / 0.5023 GB, free: 2.965 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003835/0.3991, allocations: 1.944 MB / 0.5042 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3991, allocations: 0 / 0.5042 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002537/0.4017, allocations: 1.361 MB / 0.5055 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.4034, allocations: 327 kB / 0.5058 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006983/0.4104, allocations: 3.994 MB / 0.5097 GB, free: 11.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/0.4118, allocations: 1.046 MB / 0.5107 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000401/0.4122, allocations: 103.4 kB / 0.5108 GB, free: 9.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4122, allocations: 0 / 0.5108 GB, free: 9.98 MB / 430.1 MB Notification: Performance of Templates: time 0.2426/0.6548, allocations: 68.04 MB / 0.5773 GB, free: 70.16 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins1/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: 11.974271916318685]