Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.0008438/0.0008438, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.003878/0.003878, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 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 0.9098/0.9098, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/3.11e-05, allocations: 4.672 kB / 325.9 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01479/0.01482, allocations: 11.8 MB / 337.7 MB, free: 3.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009322/0.02415, allocations: 4.287 MB / 341.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.02589, allocations: 95.44 kB / 342 MB, free: 15.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002001/0.02789, allocations: 0.9782 MB / 343 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00251/0.0304, allocations: 1.327 MB / 344.3 MB, free: 12.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.03169, allocations: 0.8685 MB / 345.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003337/0.03503, allocations: 4.134 MB / 349.3 MB, free: 7.832 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001637/0.03666, allocations: 1.718 MB / 351.1 MB, free: 6.047 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.03946, allocations: 2.772 MB / 353.8 MB, free: 3.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.04124, allocations: 1.761 MB / 355.6 MB, free: 1.504 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004875/0.04173, allocations: 0.4961 MB / 356.1 MB, free: 1.008 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009046/0.04263, allocations: 0.7105 MB / 356.8 MB, free: 304 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006676/0.0433, allocations: 1.133 MB / 357.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.04457, allocations: 1.407 MB / 359.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005326/0.0499, allocations: 6.704 MB / 366 MB, free: 7.027 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.04991, allocations: 0 / 366 MB, free: 7.027 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.04991, allocations: 0 / 366 MB, free: 7.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001079/0.05002, allocations: 0 / 366 MB, free: 7.027 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.007111/0.05713, allocations: 4.306 MB / 370.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.05718, allocations: 12.03 kB / 370.4 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.05936, allocations: 0.8027 MB / 371.2 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00297/0.06233, allocations: 2.332 MB / 373.5 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.06246, allocations: 234.6 kB / 373.7 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.06278, allocations: 316.2 kB / 374 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004887/0.06767, allocations: 4.385 MB / 378.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.017e-05/0.06773, allocations: 4 kB / 378.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002152/0.06795, allocations: 128 kB / 378.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.06805, allocations: 154.2 kB / 378.7 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004213/0.07226, allocations: 3.609 MB / 382.3 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01292/0.08518, allocations: 11.19 MB / 393.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003304/0.08849, allocations: 2.638 MB / 396.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.0903, allocations: 1.499 MB / 397.6 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004584/0.09488, allocations: 3.353 MB / 401 MB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.09492, allocations: 47.5 kB / 401 MB, free: 3.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 3.697e-06/0.09493, allocations: 0 / 401 MB, free: 3.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.007306/0.1022, allocations: 4.967 MB / 406 MB, free: 14.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.1023, allocations: 68.41 kB / 406.1 MB, free: 14.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/0.104, allocations: 1.529 MB / 407.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.104, allocations: 45.7 kB / 407.6 MB, free: 12.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007424/0.1048, allocations: 1.461 MB / 409.1 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.105, allocations: 456.2 kB / 409.6 MB, free: 11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.1053, allocations: 283.5 kB / 409.8 MB, free: 10.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.1054, allocations: 301.1 kB / 410.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/0.1061, allocations: 0.6559 MB / 410.8 MB, free: 9.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009783/0.1071, allocations: 1.15 MB / 411.9 MB, free: 8.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.1089, allocations: 1.906 MB / 413.8 MB, free: 6.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.015e-05/0.1089, allocations: 4 kB / 413.8 MB, free: 6.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002562/0.1115, allocations: 2.312 MB / 416.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1115, allocations: 12 kB / 416.2 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.1115, allocations: 12 kB / 416.2 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005408/0.1121, allocations: 319.4 kB / 416.5 MB, free: 3.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007029/0.1128, allocations: 351.5 kB / 416.8 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/0.1172, allocations: 6.179 MB / 423 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.1179, allocations: 80.17 kB / 423.1 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.118, allocations: 67.98 kB / 423.2 MB, free: 12.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(1,1,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001507/0.1195, allocations: 1.001 MB / 424.2 MB, free: 11.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.1197, allocations: 174.9 kB / 424.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.1221, allocations: 2.026 MB / 426.4 MB, free: 9.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1221, allocations: 12 kB / 426.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.1221, allocations: 8 kB / 426.4 MB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.1221, allocations: 4.172 kB / 426.4 MB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.1268, allocations: 4.089 MB / 430.5 MB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1268, allocations: 3.938 kB / 430.5 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.1272, allocations: 171.9 kB / 430.6 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007386/0.128, allocations: 499.7 kB / 431.1 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.128, allocations: 35.98 kB / 431.2 MB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006978/0.135, allocations: 10.71 MB / 441.9 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.135, allocations: 4.031 kB / 441.9 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003037/0.1381, allocations: 2.922 MB / 444.8 MB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/0.1385, allocations: 326.7 kB / 445.1 MB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.1386, allocations: 28 kB / 445.1 MB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.139, allocations: 67.94 kB / 445.2 MB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001916/0.1392, allocations: 100.7 kB / 445.3 MB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.1393, allocations: 43.98 kB / 445.4 MB, free: 5.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.1404, allocations: 1.025 MB / 446.4 MB, free: 4.734 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1404, allocations: 0 / 446.4 MB, free: 4.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001469/0.1418, allocations: 0.5391 MB / 446.9 MB, free: 4.195 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003048/0.1421, allocations: 174.8 kB / 447.1 MB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.1443, allocations: 1.989 MB / 449.1 MB, free: 1.984 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1443, allocations: 0 / 449.1 MB, free: 1.984 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.1456, allocations: 1.492 MB / 450.6 MB, free: 440 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.1467, allocations: 420 kB / 451 MB, free: 24 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1647/0.3114, allocations: 5.357 MB / 456.3 MB, free: 113 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.3126, allocations: 1.685 MB / 458 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.313, allocations: 137.3 kB / 458.2 MB, free: 112.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.313, allocations: 3.938 kB / 458.2 MB, free: 112.8 MB / 410.7 MB Notification: Performance of Templates: time 0.05147/0.3644, allocations: 109.8 MB / 0.5547 GB, free: 6.094 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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: 9.157944566570222]