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.001581/0.001581, allocations: 85.36 kB / 20.68 MB, free: 1.039 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.001746/0.001746, allocations: 164.7 kB / 23.96 MB, free: 4.164 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.46/1.46, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.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.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 1.743e-06/1.743e-06, allocations: 0 / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.572e-05, allocations: 10.5 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01517/0.0152, allocations: 11.79 MB / 336.9 MB, free: 8.363 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009085/0.02428, allocations: 4.282 MB / 341.2 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.02605, allocations: 96.97 kB / 341.3 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002579/0.02863, allocations: 0.985 MB / 342.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00359/0.03222, allocations: 1.324 MB / 343.6 MB, free: 2.625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.03427, allocations: 0.8781 MB / 344.5 MB, free: 1.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005166/0.03944, allocations: 4.123 MB / 348.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002618/0.04206, allocations: 1.722 MB / 350.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004016/0.04607, allocations: 2.764 MB / 353.1 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.0488, allocations: 1.761 MB / 354.8 MB, free: 7.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007352/0.04954, allocations: 0.5 MB / 355.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.05095, allocations: 0.7066 MB / 356 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.05208, allocations: 1.13 MB / 357.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001961/0.05404, allocations: 1.411 MB / 358.6 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007526/0.06157, allocations: 6.704 MB / 365.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.06158, allocations: 8 kB / 365.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.06158, allocations: 0 / 365.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001651/0.06174, allocations: 0 / 365.3 MB, free: 12.8 MB / 334.1 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.01277/0.07451, allocations: 4.302 MB / 369.6 MB, free: 8.438 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.07455, allocations: 8.031 kB / 369.6 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004473/0.07903, allocations: 0.8067 MB / 370.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/0.08375, allocations: 2.336 MB / 372.7 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.08395, allocations: 234.6 kB / 373 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006016/0.08456, allocations: 312.3 kB / 373.3 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00811/0.09266, allocations: 4.381 MB / 377.7 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-05/0.09275, allocations: 11.94 kB / 377.7 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003903/0.09314, allocations: 124 kB / 377.8 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.09333, allocations: 150.3 kB / 377.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007087/0.1004, allocations: 3.612 MB / 381.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02287/0.1233, allocations: 11.19 MB / 392.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006137/0.1294, allocations: 2.647 MB / 395.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003467/0.1329, allocations: 1.511 MB / 396.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007721/0.1406, allocations: 3.337 MB / 400.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.1407, allocations: 47.5 kB / 400.3 MB, free: 9.383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 3.817e-06/0.1407, allocations: 4 kB / 400.3 MB, free: 9.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=123): time 0.01248/0.1532, allocations: 4.971 MB / 405.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1532, allocations: 64.41 kB / 405.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002802/0.156, allocations: 1.529 MB / 406.8 MB, free: 2.746 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.1561, allocations: 49.7 kB / 406.9 MB, free: 2.691 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/0.1573, allocations: 1.457 MB / 408.3 MB, free: 1.223 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004175/0.1578, allocations: 452.2 kB / 408.8 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005023/0.1583, allocations: 279.5 kB / 409.1 MB, free: 0.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1584, allocations: 305.1 kB / 409.4 MB, free: 204 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.1597, allocations: 0.656 MB / 410 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.1613, allocations: 1.146 MB / 411.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/0.1645, allocations: 1.906 MB / 413.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.1645, allocations: 4 kB / 413.1 MB, free: 12.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004503/0.169, allocations: 2.316 MB / 415.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.169, allocations: 8 kB / 415.4 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.169, allocations: 19.98 kB / 415.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009059/0.1699, allocations: 326.2 kB / 415.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.1714, allocations: 347.4 kB / 416.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007376/0.1788, allocations: 6.18 MB / 422.2 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.1802, allocations: 75.86 kB / 422.3 MB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/0.1805, allocations: 71.98 kB / 422.4 MB, free: 2.414 MB / 382.1 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.002113/0.1826, allocations: 1.001 MB / 423.4 MB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004646/0.1831, allocations: 170.9 kB / 423.6 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.1875, allocations: 2.03 MB / 425.6 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.1875, allocations: 12 kB / 425.6 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.1875, allocations: 8 kB / 425.6 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.509e-05/0.1875, allocations: 3.984 kB / 425.6 MB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008374/0.1959, allocations: 4.093 MB / 429.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.1959, allocations: 4 kB / 429.7 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008023/0.1967, allocations: 167.8 kB / 429.9 MB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.1982, allocations: 0.4923 MB / 430.4 MB, free: 10.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.1983, allocations: 35.98 kB / 430.4 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/0.2111, allocations: 10.7 MB / 441.1 MB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2111, allocations: 4.031 kB / 441.1 MB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005905/0.217, allocations: 2.922 MB / 444 MB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/0.2179, allocations: 326.7 kB / 444.3 MB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004211/0.2184, allocations: 35.94 kB / 444.4 MB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.2194, allocations: 71.88 kB / 444.4 MB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/0.2197, allocations: 104.7 kB / 444.5 MB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/0.2198, allocations: 32 kB / 444.6 MB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.2219, allocations: 1.025 MB / 445.6 MB, free: 10.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2219, allocations: 0 / 445.6 MB, free: 10.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002276/0.2242, allocations: 0.5468 MB / 446.2 MB, free: 9.965 MB / 414.1 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.0003859/0.2246, allocations: 163 kB / 446.3 MB, free: 9.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003884/0.2285, allocations: 2.001 MB / 448.3 MB, free: 7.754 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2285, allocations: 4.25 kB / 448.3 MB, free: 7.75 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002612/0.2311, allocations: 1.487 MB / 449.8 MB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.2335, allocations: 424 kB / 450.2 MB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.2438, allocations: 5.374 MB / 455.6 MB, free: 364 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002435/0.2463, allocations: 1.728 MB / 457.3 MB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001236/0.2475, allocations: 358.3 kB / 457.7 MB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.2479, allocations: 116.5 kB / 457.8 MB, free: 14.12 MB / 430.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2479, allocations: 0 / 457.8 MB, free: 14.12 MB / 430.1 MB Notification: Performance of Templates: time 0.1926/0.4405, allocations: 25.54 MB / 483.3 MB, free: 119.8 MB / 430.1 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: 5.604072842746973]