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.001271/0.001271, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001489/0.001489, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.394/1.394, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.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 0.001748/0.001748, allocations: 55.92 kB / 379.1 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2385, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01629/0.2548, allocations: 13.57 MB / 446 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009205/0.264, allocations: 4.526 MB / 450.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002519/0.2665, allocations: 99.38 kB / 450.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003141/0.2696, allocations: 1.041 MB / 451.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.2739, allocations: 1.305 MB / 452.9 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.2762, allocations: 0.8991 MB / 453.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005485/0.2817, allocations: 3.949 MB / 457.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003031/0.2848, allocations: 1.792 MB / 459.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002846/0.2876, allocations: 1.893 MB / 461.5 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00379/0.2914, allocations: 2.223 MB / 463.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.2925, allocations: 0.4961 MB / 464.2 MB, free: 6.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.2946, allocations: 0.7224 MB / 464.9 MB, free: 6.223 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.2962, allocations: 1.114 MB / 466 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.2992, allocations: 2.089 MB / 468.1 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007361/0.3066, allocations: 6.65 MB / 474.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3066, allocations: 0 / 474.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3066, allocations: 0 / 474.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001034/0.3067, allocations: 4 kB / 474.8 MB, free: 12.33 MB / 382.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.01044/0.3171, allocations: 4.345 MB / 479.1 MB, free: 7.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.3171, allocations: 12.03 kB / 479.1 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.3214, allocations: 0.8066 MB / 479.9 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005993/0.3274, allocations: 2.352 MB / 482.3 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.3277, allocations: 238.2 kB / 482.5 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006363/0.3283, allocations: 315.9 kB / 482.8 MB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007996/0.3363, allocations: 4.234 MB / 487.1 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.569e-05/0.3364, allocations: 0 / 487.1 MB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002955/0.3366, allocations: 131.9 kB / 487.2 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/0.3368, allocations: 150.3 kB / 487.3 MB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00669/0.3435, allocations: 3.616 MB / 491 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0216/0.3651, allocations: 12.81 MB / 0.492 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005195/0.3703, allocations: 2.664 MB / 0.4946 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002863/0.3732, allocations: 1.515 MB / 0.496 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006956/0.3801, allocations: 3.71 MB / 0.4997 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.3802, allocations: 43.56 kB / 0.4997 GB, free: 7.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=120): time 3.076e-06/0.3802, allocations: 0 / 0.4997 GB, free: 7.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=123): time 0.0113/0.3915, allocations: 4.998 MB / 0.5046 GB, free: 1.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.3915, allocations: 68.41 kB / 0.5047 GB, free: 1.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.394, allocations: 1.722 MB / 0.5063 GB, free: 156 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.053e-05/0.3941, allocations: 45.7 kB / 0.5064 GB, free: 104 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.3952, allocations: 1.454 MB / 0.5078 GB, free: 14.63 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.3956, allocations: 456.1 kB / 0.5082 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004219/0.396, allocations: 283.5 kB / 0.5085 GB, free: 13.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3962, allocations: 301.1 kB / 0.5088 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.3973, allocations: 0.6598 MB / 0.5094 GB, free: 12.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001481/0.3987, allocations: 1.121 MB / 0.5105 GB, free: 11.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/0.4015, allocations: 1.898 MB / 0.5124 GB, free: 9.527 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/0.4015, allocations: 4 kB / 0.5124 GB, free: 9.523 MB / 430.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004157/0.4057, allocations: 2.343 MB / 0.5147 GB, free: 7.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.4057, allocations: 12 kB / 0.5147 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.4057, allocations: 12 kB / 0.5147 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008586/0.4066, allocations: 315.5 kB / 0.515 GB, free: 6.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.4079, allocations: 355.4 kB / 0.5153 GB, free: 6.469 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006783/0.4147, allocations: 6.314 MB / 0.5215 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.4161, allocations: 80 kB / 0.5216 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.4163, allocations: 71.98 kB / 0.5216 GB, free: 15.66 MB / 446.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.001785/0.418, allocations: 0.9931 MB / 0.5226 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004391/0.4185, allocations: 190.8 kB / 0.5228 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004037/0.4225, allocations: 2.047 MB / 0.5248 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4225, allocations: 12 kB / 0.5248 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/0.4225, allocations: 8 kB / 0.5248 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.4226, allocations: 7.969 kB / 0.5248 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008614/0.4312, allocations: 4.75 MB / 0.5295 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.4312, allocations: 4.188 kB / 0.5295 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/0.4319, allocations: 167.7 kB / 0.5296 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001278/0.4332, allocations: 0.492 MB / 0.5301 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.607e-05/0.4333, allocations: 39.92 kB / 0.5301 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2037/0.637, allocations: 10.94 MB / 0.5408 GB, free: 94.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.637, allocations: 3.906 kB / 0.5408 GB, free: 94.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.6417, allocations: 2.956 MB / 0.5437 GB, free: 93.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008448/0.6426, allocations: 346.9 kB / 0.544 GB, free: 93.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.6428, allocations: 33.72 kB / 0.5441 GB, free: 93.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008665/0.6437, allocations: 65.53 kB / 0.5441 GB, free: 93.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.6439, allocations: 99.34 kB / 0.5442 GB, free: 93.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/0.644, allocations: 35.28 kB / 0.5443 GB, free: 93.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001584/0.6456, allocations: 1.186 MB / 0.5454 GB, free: 93.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6456, allocations: 0 / 0.5454 GB, free: 93.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00184/0.6474, allocations: 0.5442 MB / 0.546 GB, free: 93.04 MB / 446.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.0002778/0.6477, allocations: 167.7 kB / 0.5461 GB, free: 92.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002707/0.6504, allocations: 1.994 MB / 0.5481 GB, free: 91.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6504, allocations: 2.156 kB / 0.5481 GB, free: 91.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.6521, allocations: 1.51 MB / 0.5495 GB, free: 91.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/0.6539, allocations: 0.5196 MB / 0.5501 GB, free: 90.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007399/0.6613, allocations: 5.576 MB / 0.5555 GB, free: 88.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.6627, allocations: 2.232 MB / 0.5577 GB, free: 87.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003725/0.6631, allocations: 134.8 kB / 0.5578 GB, free: 87.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6631, allocations: 7.875 kB / 0.5578 GB, free: 87.01 MB / 446.1 MB Notification: Performance of Templates: time 0.08457/0.7477, allocations: 110.4 MB / 0.6656 GB, free: 9.965 MB / 478.1 MB " [Timeout remaining time 659] 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/jenkins1/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/jenkins1/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: 12.669710943009704]