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.001258/0.001258, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001421/0.001421, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.001654/0.001654, allocations: 51.91 kB / 379 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2383, allocations: 53.36 MB / 432.4 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01107/0.2494, allocations: 8.953 MB / 441.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005722/0.2551, allocations: 2.909 MB / 444.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.2562, allocations: 59.62 kB / 444.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.2578, allocations: 0.6329 MB / 445 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002215/0.26, allocations: 0.7574 MB / 445.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000765/0.2608, allocations: 331.5 kB / 446 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002775/0.2636, allocations: 2.241 MB / 448.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.265, allocations: 1.02 MB / 449.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.2666, allocations: 1.051 MB / 450.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002081/0.2686, allocations: 1.327 MB / 451.7 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.2691, allocations: 268 kB / 451.9 MB, free: 3.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007551/0.2698, allocations: 371.7 kB / 452.3 MB, free: 2.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008525/0.2707, allocations: 0.7675 MB / 453.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.272, allocations: 1.213 MB / 454.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004032/0.2761, allocations: 3.551 MB / 457.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2761, allocations: 0 / 457.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2761, allocations: 0 / 457.8 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.562e-05/0.2761, allocations: 0 / 457.8 MB, free: 13.36 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.004998/0.2811, allocations: 2.47 MB / 460.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2812, allocations: 16.02 kB / 460.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007072/0.2819, allocations: 259.4 kB / 460.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.2844, allocations: 1.242 MB / 461.8 MB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.2845, allocations: 135.9 kB / 462 MB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/0.2848, allocations: 195.8 kB / 462.1 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004196/0.289, allocations: 2.363 MB / 464.5 MB, free: 6.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-05/0.2891, allocations: 23.86 kB / 464.5 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.2893, allocations: 72 kB / 464.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.2894, allocations: 91.5 kB / 464.7 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.2929, allocations: 1.966 MB / 466.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.3044, allocations: 6.941 MB / 473.6 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.3062, allocations: 1.008 MB / 474.6 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.3078, allocations: 0.8038 MB / 475.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/0.308, allocations: 44.94 kB / 475.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.308, allocations: 43.56 kB / 475.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 2.755e-06/0.308, allocations: 0 / 475.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01353/0.3216, allocations: 5.67 MB / 481.2 MB, free: 5.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.3216, allocations: 64.41 kB / 481.2 MB, free: 5.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001874/0.3235, allocations: 1.223 MB / 482.4 MB, free: 4.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.243e-05/0.3236, allocations: 41.7 kB / 482.5 MB, free: 4.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007322/0.3243, allocations: 0.887 MB / 483.4 MB, free: 3.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003397/0.3246, allocations: 380.8 kB / 483.7 MB, free: 3.023 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.325, allocations: 222.9 kB / 484 MB, free: 2.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3252, allocations: 357.9 kB / 484.3 MB, free: 2.445 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3262, allocations: 0.6155 MB / 484.9 MB, free: 1.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.3275, allocations: 0.9149 MB / 485.8 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/0.33, allocations: 1.643 MB / 487.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.33, allocations: 8 kB / 487.5 MB, free: 15.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003847/0.3338, allocations: 2.152 MB / 489.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3338, allocations: 8 kB / 489.7 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.3339, allocations: 12 kB / 489.7 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.335, allocations: 479.4 kB / 490.1 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009888/0.336, allocations: 275.5 kB / 490.4 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007042/0.343, allocations: 6.707 MB / 497.1 MB, free: 5.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.3441, allocations: 79.91 kB / 497.2 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/0.3441, allocations: 52.06 kB / 497.2 MB, free: 4.895 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.0009926/0.3451, allocations: 0.5988 MB / 497.8 MB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.3454, allocations: 143 kB / 498 MB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003514/0.3489, allocations: 1.949 MB / 499.9 MB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.3489, allocations: 12 kB / 499.9 MB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3489, allocations: 4 kB / 499.9 MB, free: 2.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3489, allocations: 3.984 kB / 499.9 MB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/0.356, allocations: 4.096 MB / 0.4922 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.356, allocations: 7.984 kB / 0.4922 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.3567, allocations: 179.7 kB / 0.4924 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.358, allocations: 0.5224 MB / 0.4929 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-05/0.3581, allocations: 35.98 kB / 0.493 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008454/0.3666, allocations: 8.214 MB / 0.501 GB, free: 4.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.3666, allocations: 4 kB / 0.501 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004786/0.3714, allocations: 2.863 MB / 0.5038 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007689/0.3721, allocations: 282.9 kB / 0.504 GB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.3723, allocations: 31.94 kB / 0.5041 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.3731, allocations: 67.92 kB / 0.5041 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.3733, allocations: 96.77 kB / 0.5042 GB, free: 1.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/0.3734, allocations: 39.92 kB / 0.5043 GB, free: 1.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.3746, allocations: 0.8345 MB / 0.5051 GB, free: 236 kB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3746, allocations: 0 / 0.5051 GB, free: 236 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.001374/0.376, allocations: 408 kB / 0.5055 GB, free: 15.83 MB / 430.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.0003445/0.3763, allocations: 190.9 kB / 0.5057 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003387/0.3797, allocations: 1.943 MB / 0.5076 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.3797, allocations: 4 kB / 0.5076 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002228/0.3819, allocations: 1.362 MB / 0.5089 GB, free: 12.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001725/0.3837, allocations: 391.2 kB / 0.5093 GB, free: 11.86 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/0.3901, allocations: 4.014 MB / 0.5132 GB, free: 7.758 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.3915, allocations: 1.618 MB / 0.5148 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.3919, allocations: 99.42 kB / 0.5149 GB, free: 6.008 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3919, allocations: 4 kB / 0.5149 GB, free: 6.004 MB / 430.1 MB Notification: Performance of Templates: time 0.2596/0.6515, allocations: 68.47 MB / 0.5817 GB, free: 65.3 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: 12.152196620125324]