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.001767/0.001767, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001927/0.001927, allocations: 205.2 kB / 24.47 MB, free: 3.977 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.452/1.452, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.001583/0.001583, allocations: 51.92 kB / 379 MB, free: 2.547 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.247, allocations: 53.36 MB / 432.3 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Inverter): time 0.01042/0.2575, allocations: 7.884 MB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.2629, allocations: 2.719 MB / 442.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007528/0.2636, allocations: 59.62 kB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.2651, allocations: 0.5975 MB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.267, allocations: 0.7574 MB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000673/0.2677, allocations: 331.5 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002398/0.2701, allocations: 2.229 MB / 446.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.2714, allocations: 1.024 MB / 447.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.2728, allocations: 1.055 MB / 449 MB, free: 5.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00178/0.2745, allocations: 1.32 MB / 450.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.275, allocations: 268 kB / 450.6 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006946/0.2757, allocations: 363.8 kB / 450.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008035/0.2765, allocations: 0.7713 MB / 451.7 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001098/0.2776, allocations: 0.9802 MB / 452.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003744/0.2813, allocations: 3.569 MB / 456.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2813, allocations: 0 / 456.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2813, allocations: 0 / 456.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.909e-05/0.2814, allocations: 0 / 456.2 MB, free: 14.7 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.005142/0.2865, allocations: 2.478 MB / 458.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.2866, allocations: 12.03 kB / 458.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008156/0.2874, allocations: 267.4 kB / 459 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.2899, allocations: 1.238 MB / 460.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.29, allocations: 135.9 kB / 460.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.2903, allocations: 191.9 kB / 460.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/0.2944, allocations: 2.475 MB / 463 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.495e-05/0.2944, allocations: 7.953 kB / 463 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.2946, allocations: 75.98 kB / 463.1 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.2947, allocations: 91.5 kB / 463.2 MB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003721/0.2984, allocations: 1.962 MB / 465.2 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.3105, allocations: 6.099 MB / 471.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.3124, allocations: 0.9968 MB / 472.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/0.314, allocations: 0.7999 MB / 473.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.3142, allocations: 44.97 kB / 473.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.3142, allocations: 39.56 kB / 473.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=87): time 3.246e-06/0.3142, allocations: 0 / 473.1 MB, free: 13.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.01415/0.3284, allocations: 5.67 MB / 478.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.3284, allocations: 64.34 kB / 478.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.3301, allocations: 1.079 MB / 480 MB, free: 6.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.714e-05/0.3302, allocations: 45.7 kB / 480 MB, free: 6.523 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/0.3309, allocations: 0.8942 MB / 480.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000352/0.3313, allocations: 384.7 kB / 481.3 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003909/0.3317, allocations: 218.9 kB / 481.5 MB, free: 5.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3319, allocations: 357.9 kB / 481.8 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.3329, allocations: 0.6194 MB / 482.4 MB, free: 4.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001342/0.3343, allocations: 0.9149 MB / 483.4 MB, free: 3.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.3368, allocations: 1.643 MB / 485 MB, free: 1.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3368, allocations: 4 kB / 485 MB, free: 1.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003902/0.3407, allocations: 2.137 MB / 487.1 MB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.3408, allocations: 8 kB / 487.2 MB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3408, allocations: 15.98 kB / 487.2 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.342, allocations: 472.2 kB / 487.6 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.343, allocations: 271.6 kB / 487.9 MB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007191/0.3502, allocations: 6.583 MB / 494.5 MB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.3512, allocations: 87.84 kB / 494.6 MB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.3513, allocations: 52.06 kB / 494.6 MB, free: 7.285 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.001057/0.3524, allocations: 0.5988 MB / 495.2 MB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/0.3526, allocations: 135.1 kB / 495.3 MB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/0.3563, allocations: 1.924 MB / 497.3 MB, free: 4.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.818e-05/0.3563, allocations: 11.94 kB / 497.3 MB, free: 4.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.3563, allocations: 4 kB / 497.3 MB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.3563, allocations: 11.97 kB / 497.3 MB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007029/0.3633, allocations: 3.665 MB / 0.4892 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.3633, allocations: 4 kB / 0.4892 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/0.3641, allocations: 188.2 kB / 0.4894 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001422/0.3656, allocations: 0.5193 MB / 0.4899 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.719e-05/0.3657, allocations: 31.98 kB / 0.4899 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008584/0.3742, allocations: 8.064 MB / 0.4978 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3742, allocations: 8 kB / 0.4978 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004953/0.3792, allocations: 2.851 MB / 0.5006 GB, free: 4.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008245/0.38, allocations: 259 kB / 0.5009 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.3802, allocations: 31.98 kB / 0.5009 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007755/0.381, allocations: 71.92 kB / 0.501 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.3812, allocations: 96.7 kB / 0.501 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.459e-05/0.3813, allocations: 35.94 kB / 0.5011 GB, free: 4.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001147/0.3825, allocations: 0.7295 MB / 0.5018 GB, free: 3.422 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3825, allocations: 0 / 0.5018 GB, free: 3.422 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001498/0.384, allocations: 408 kB / 0.5022 GB, free: 3.023 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.0003909/0.3844, allocations: 196.1 kB / 0.5024 GB, free: 2.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00351/0.3879, allocations: 1.941 MB / 0.5043 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3879, allocations: 0 / 0.5043 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002323/0.3902, allocations: 1.368 MB / 0.5056 GB, free: 15.42 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.3918, allocations: 326.3 kB / 0.5059 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006484/0.3983, allocations: 3.948 MB / 0.5098 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00128/0.3996, allocations: 1.061 MB / 0.5108 GB, free: 9.973 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008758/0.4005, allocations: 278.7 kB / 0.5111 GB, free: 9.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/0.4007, allocations: 91.42 kB / 0.5112 GB, free: 9.605 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4007, allocations: 0 / 0.5112 GB, free: 9.605 MB / 430.1 MB Notification: Performance of Templates: time 0.04056/0.4413, allocations: 23.95 MB / 0.5346 GB, free: 2 MB / 446.1 MB " [Timeout remaining time 660] 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 -s gbode -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: 5.686684571992373]