Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.001152/0.001152, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001936/0.003088, 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.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.001129/0.001129, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002672, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.017/1.017, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1136/1.131, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.298e-05, allocations: 2.312 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01796/0.01799, allocations: 20.51 MB / 265.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01289/0.03087, allocations: 7.023 MB / 272.3 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003987/0.03486, allocations: 179.1 kB / 272.4 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1484/0.1832, allocations: 7.218 MB / 279.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008383/0.1916, allocations: 2.853 MB / 282.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.195, allocations: 1.563 MB / 284.1 MB, free: 1.312 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01031/0.2053, allocations: 9.517 MB / 293.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01355/0.2189, allocations: 10.98 MB / 304.6 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.2302, allocations: 7.314 MB / 311.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007651/0.2378, allocations: 5.131 MB / 317 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003292/0.2411, allocations: 1.352 MB / 318.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004561/0.2457, allocations: 1.703 MB / 320.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003493/0.2492, allocations: 2.173 MB / 322.2 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005894/0.2551, allocations: 2.82 MB / 325.1 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.2658, allocations: 8.002 MB / 333.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.2658, allocations: 0 / 333.1 MB, free: 13.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2658, allocations: 3.984 kB / 333.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004047/0.2662, allocations: 0 / 333.1 MB, free: 13.37 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.01869/0.2849, allocations: 11.38 MB / 344.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.2849, allocations: 8.031 kB / 344.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/0.3022, allocations: 5.876 MB / 350.3 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007349/0.3096, allocations: 2.975 MB / 353.3 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/0.31, allocations: 0.5518 MB / 353.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001913/0.3119, allocations: 0.7388 MB / 354.6 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.3255, allocations: 6.306 MB / 360.9 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000181/0.3256, allocations: 14.53 kB / 360.9 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001112/0.3267, allocations: 316.3 kB / 361.2 MB, free: 2.309 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003613/0.3271, allocations: 472.1 kB / 361.7 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008075/0.3352, allocations: 3.344 MB / 365 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04374/0.3789, allocations: 24.76 MB / 389.8 MB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007343/0.3863, allocations: 4.996 MB / 394.8 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.3879, allocations: 1.026 MB / 395.8 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/0.3882, allocations: 123.1 kB / 395.9 MB, free: 380 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.532e-05/0.3883, allocations: 81.72 kB / 396 MB, free: 288 kB / 362.7 MB Notification: Performance of pre-optimization done (n=410): time 8.476e-06/0.3883, allocations: 0 / 396 MB, free: 288 kB / 362.7 MB Notification: Performance of matching and sorting (n=415): time 0.02678/0.4151, allocations: 8.904 MB / 404.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.4151, allocations: 94.67 kB / 405 MB, free: 7.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.4177, allocations: 1.814 MB / 406.8 MB, free: 5.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003516/0.418, allocations: 89.7 kB / 406.9 MB, free: 5.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.4197, allocations: 2.872 MB / 409.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.4211, allocations: 1.446 MB / 411.2 MB, free: 1.645 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/0.4225, allocations: 0.8795 MB / 412.1 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.973e-05/0.4226, allocations: 305.1 kB / 412.4 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.4241, allocations: 0.6802 MB / 413.1 MB, free: 15.87 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.4264, allocations: 2.163 MB / 415.3 MB, free: 13.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/0.4311, allocations: 3.506 MB / 418.8 MB, free: 9.199 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.766e-05/0.4311, allocations: 19.94 kB / 418.8 MB, free: 9.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.005534/0.4366, allocations: 3.401 MB / 422.2 MB, free: 6.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.4367, allocations: 25.5 kB / 422.2 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-05/0.4367, allocations: 52 kB / 422.3 MB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.4387, allocations: 1.038 MB / 423.3 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.441, allocations: 1.185 MB / 424.5 MB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1457/0.5867, allocations: 5.591 MB / 430.1 MB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.5892, allocations: 173.6 kB / 430.2 MB, free: 96.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006076/0.5898, allocations: 185.4 kB / 430.4 MB, free: 96.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002157/0.5919, allocations: 438.3 kB / 430.8 MB, free: 96.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008135/0.5927, allocations: 340.7 kB / 431.2 MB, free: 96.76 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/0.5973, allocations: 2.79 MB / 434 MB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.333e-05/0.5974, allocations: 42.81 kB / 434 MB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.5974, allocations: 9.656 kB / 434 MB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/0.5974, allocations: 23.86 kB / 434 MB, free: 96.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/0.609, allocations: 7.411 MB / 441.5 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.609, allocations: 7.406 kB / 441.5 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001615/0.6106, allocations: 0.7631 MB / 442.2 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.6119, allocations: 480.7 kB / 442.7 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.6137, allocations: 0.9373 MB / 443.6 MB, free: 95.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.6138, allocations: 84.98 kB / 443.7 MB, free: 95.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004722/0.6186, allocations: 5.249 MB / 449 MB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6186, allocations: 13.97 kB / 449 MB, free: 93.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004291/0.6229, allocations: 3.517 MB / 452.5 MB, free: 92.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004706/0.6233, allocations: 83.58 kB / 452.6 MB, free: 92.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009949/0.6243, allocations: 105.5 kB / 452.7 MB, free: 92.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004058/0.6247, allocations: 317.3 kB / 453 MB, free: 92.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/0.6249, allocations: 88.31 kB / 453.1 MB, free: 92.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009054/0.6258, allocations: 0.8526 MB / 453.9 MB, free: 92.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6258, allocations: 4 kB / 453.9 MB, free: 92.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003212/0.629, allocations: 1.381 MB / 455.3 MB, free: 92.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004204/0.6294, allocations: 254.8 kB / 455.6 MB, free: 92.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004523/0.6339, allocations: 3.132 MB / 458.7 MB, free: 92.15 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001847/0.6341, allocations: 75.22 kB / 458.8 MB, free: 92.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002521/0.6367, allocations: 2.081 MB / 460.9 MB, free: 91.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00351/0.6402, allocations: 5.946 MB / 466.8 MB, free: 86.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04507/0.6852, allocations: 11.8 MB / 478.6 MB, free: 80.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.6872, allocations: 1.55 MB / 480.2 MB, free: 79.19 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001965/0.6892, allocations: 0.5843 MB / 480.7 MB, free: 78.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/0.6905, allocations: 0.7887 MB / 481.5 MB, free: 78.02 MB / 394.7 MB Notification: Performance of SimCode: time 2.084e-06/0.6905, allocations: 0 / 481.5 MB, free: 78.02 MB / 394.7 MB Notification: Performance of Templates: time 0.07616/0.7666, allocations: 63.77 MB / 0.5325 GB, free: 16.51 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/BasicMachines/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: 4.232326420024037]