Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.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.0007847/0.0007847, allocations: 73.42 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.001938, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006467/0.0006467, allocations: 141 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009528/0.0016, allocations: 483.5 kB / 11.81 MB, free: 2.359 MB / 13.93 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 0.8251/0.8251, allocations: 173.4 MB / 186 MB, free: 7.52 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1432/0.9683, allocations: 52.49 MB / 238.5 MB, free: 7.602 MB / 234.7 MB " [Timeout remaining time 179] 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_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 239.8 MB, free: 6.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.563e-05, allocations: 2.312 kB / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.009237/0.009253, allocations: 8.686 MB / 248.4 MB, free: 13.62 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00565/0.0149, allocations: 2.884 MB / 251.3 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000714/0.01562, allocations: 61.81 kB / 251.4 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008842/0.0165, allocations: 0.6103 MB / 252 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.01764, allocations: 0.772 MB / 252.8 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.01804, allocations: 327.4 kB / 253.1 MB, free: 8.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001602/0.01965, allocations: 2.322 MB / 255.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008951/0.02054, allocations: 1.016 MB / 256.4 MB, free: 5.566 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.02227, allocations: 1.817 MB / 258.2 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009434/0.02322, allocations: 1.146 MB / 259.4 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.02342, allocations: 260 kB / 259.6 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.02385, allocations: 351.8 kB / 260 MB, free: 1.988 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003815/0.02423, allocations: 0.6234 MB / 260.6 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.02475, allocations: 0.6785 MB / 261.3 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.02611, allocations: 1.799 MB / 263.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.02612, allocations: 0 / 263.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02612, allocations: 0 / 263.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.02614, allocations: 0 / 263.1 MB, free: 14.88 MB / 266.7 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.002296/0.02843, allocations: 2.695 MB / 265.8 MB, free: 12.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.02846, allocations: 12.03 kB / 265.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005015/0.02896, allocations: 409.7 kB / 266.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.02991, allocations: 0.8949 MB / 267.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.02998, allocations: 139.9 kB / 267.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.03014, allocations: 184.3 kB / 267.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.0314, allocations: 1.387 MB / 268.8 MB, free: 9.023 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.03144, allocations: 15.86 kB / 268.8 MB, free: 9.008 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.03154, allocations: 72 kB / 268.9 MB, free: 8.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-05/0.03161, allocations: 91.5 kB / 269 MB, free: 8.848 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.03231, allocations: 0.519 MB / 269.5 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.03667, allocations: 4.613 MB / 274.1 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.03725, allocations: 0.5408 MB / 274.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/0.03772, allocations: 387.1 kB / 275 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.03783, allocations: 48.97 kB / 275.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.03785, allocations: 47.5 kB / 275.1 MB, free: 2.492 MB / 266.7 MB Notification: Performance of pre-optimization done (n=87): time 2.214e-06/0.03786, allocations: 3.938 kB / 275.1 MB, free: 2.488 MB / 266.7 MB Notification: Performance of matching and sorting (n=104): time 0.003961/0.04182, allocations: 2.546 MB / 277.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.04184, allocations: 64.41 kB / 277.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000511/0.04235, allocations: 0.807 MB / 278.5 MB, free: 15 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.0424, allocations: 41.7 kB / 278.6 MB, free: 14.95 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.04268, allocations: 0.7437 MB / 279.3 MB, free: 14.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/0.04285, allocations: 384.6 kB / 279.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.04305, allocations: 206.8 kB / 279.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.04313, allocations: 353.8 kB / 280.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.04331, allocations: 145.4 kB / 280.4 MB, free: 13.11 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.04361, allocations: 452.8 kB / 280.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000588/0.0442, allocations: 0.7538 MB / 281.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.04421, allocations: 4 kB / 281.6 MB, free: 11.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001008/0.04521, allocations: 0.8918 MB / 282.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.04523, allocations: 12 kB / 282.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.04524, allocations: 8 kB / 282.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004804/0.04572, allocations: 255.5 kB / 282.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005063/0.04623, allocations: 275.6 kB / 283 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002538/0.04877, allocations: 4.683 MB / 287.7 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.04907, allocations: 43.94 kB / 287.7 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.04912, allocations: 39.98 kB / 287.8 MB, free: 5.141 MB / 282.7 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.0002578/0.04938, allocations: 184.3 kB / 288 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.04951, allocations: 111.9 kB / 288.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009955/0.05051, allocations: 0.8079 MB / 288.9 MB, free: 4 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.05051, allocations: 12 kB / 288.9 MB, free: 3.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.05052, allocations: 4 kB / 288.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.05053, allocations: 7.969 kB / 288.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.05288, allocations: 2.237 MB / 291.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.05289, allocations: 4 kB / 291.1 MB, free: 1.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.05326, allocations: 175.8 kB / 291.3 MB, free: 1.461 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.05348, allocations: 175.1 kB / 291.5 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005797/0.05406, allocations: 334.1 kB / 291.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.05411, allocations: 27.98 kB / 291.8 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003413/0.05752, allocations: 5.877 MB / 297.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.05753, allocations: 8.031 kB / 297.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.05907, allocations: 1.217 MB / 298.9 MB, free: 9.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.05919, allocations: 31.94 kB / 299 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.0596, allocations: 43.97 kB / 299 MB, free: 9.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.05976, allocations: 96.7 kB / 299.1 MB, free: 9.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.05981, allocations: 24 kB / 299.1 MB, free: 9.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003875/0.06019, allocations: 401 kB / 299.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06019, allocations: 0 / 299.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001089/0.06128, allocations: 396 kB / 299.9 MB, free: 8.375 MB / 298.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002935/0.06158, allocations: 168.1 kB / 300.1 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.06304, allocations: 1.09 MB / 301.2 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-05/0.06308, allocations: 23.06 kB / 301.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/0.06422, allocations: 1.112 MB / 302.3 MB, free: 5.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.06609, allocations: 3.096 MB / 305.4 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/0.08201, allocations: 3.188 MB / 308.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.08244, allocations: 443.5 kB / 309 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000476/0.08292, allocations: 158.9 kB / 309.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/0.08354, allocations: 341.1 kB / 309.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.08354, allocations: 0 / 309.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of Templates: time 0.03124/0.1148, allocations: 22.58 MB / 332.1 MB, free: 7.676 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Inverter/IMC_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9370463993400335]