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.001095/0.001095, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001489/0.002584, allocations: 449.7 kB / 10.37 MB, free: 328 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.001018/0.001018, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001246/0.002264, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9204/0.9204, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08142/1.002, allocations: 53.65 MB / 243.3 MB, free: 15.59 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 1.333e-06/1.333e-06, allocations: 0 / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.467e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01426/0.01428, allocations: 20.51 MB / 265.1 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.02558, allocations: 7.039 MB / 272.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.02797, allocations: 175.1 kB / 272.3 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1254/0.1533, allocations: 7.215 MB / 279.5 MB, free: 1.672 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006641/0.16, allocations: 2.854 MB / 282.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.1624, allocations: 1.56 MB / 283.9 MB, free: 1.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008317/0.1707, allocations: 9.521 MB / 293.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01086/0.1815, allocations: 10.98 MB / 304.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009462/0.191, allocations: 7.304 MB / 311.7 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006855/0.1979, allocations: 5.131 MB / 316.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003176/0.201, allocations: 1.355 MB / 318.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/0.2058, allocations: 1.702 MB / 319.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003472/0.2093, allocations: 2.167 MB / 322.1 MB, free: 7.977 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007816/0.2171, allocations: 2.82 MB / 324.9 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.2278, allocations: 8.025 MB / 332.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.438e-05/0.2279, allocations: 0 / 332.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.2279, allocations: 0 / 332.9 MB, free: 13.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000315/0.2282, allocations: 0 / 332.9 MB, free: 13.45 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.01631/0.2445, allocations: 11.39 MB / 344.3 MB, free: 2.488 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2445, allocations: 12.03 kB / 344.3 MB, free: 2.477 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.2603, allocations: 5.886 MB / 350.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006697/0.267, allocations: 2.964 MB / 353.2 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003115/0.2673, allocations: 0.5527 MB / 353.7 MB, free: 9.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001432/0.2687, allocations: 0.7495 MB / 354.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008307/0.2771, allocations: 6.3 MB / 360.8 MB, free: 2.68 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000135/0.2772, allocations: 10.77 kB / 360.8 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000605/0.2778, allocations: 308.7 kB / 361.1 MB, free: 2.379 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003409/0.2781, allocations: 0.4883 MB / 361.6 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/0.2837, allocations: 3.348 MB / 364.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03728/0.321, allocations: 24.76 MB / 389.7 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006922/0.3279, allocations: 4.99 MB / 394.7 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.3295, allocations: 1.022 MB / 395.7 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002508/0.3297, allocations: 119.1 kB / 395.8 MB, free: 432 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/0.3298, allocations: 84.52 kB / 395.9 MB, free: 340 kB / 362.7 MB Notification: Performance of pre-optimization done (n=410): time 7.124e-06/0.3298, allocations: 0 / 395.9 MB, free: 340 kB / 362.7 MB Notification: Performance of matching and sorting (n=415): time 0.01759/0.3474, allocations: 7.591 MB / 403.5 MB, free: 8.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.3475, allocations: 94.67 kB / 403.6 MB, free: 8.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.3493, allocations: 1.815 MB / 405.4 MB, free: 7.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.3495, allocations: 89.7 kB / 405.5 MB, free: 7.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.3509, allocations: 2.869 MB / 408.3 MB, free: 4.328 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008812/0.3518, allocations: 1.445 MB / 409.8 MB, free: 2.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009838/0.3528, allocations: 0.8744 MB / 410.7 MB, free: 2.18 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.3528, allocations: 309.1 kB / 411 MB, free: 1.875 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008731/0.3537, allocations: 0.6689 MB / 411.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.3553, allocations: 2.17 MB / 413.8 MB, free: 14.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/0.3584, allocations: 3.352 MB / 417.1 MB, free: 10.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-05/0.3584, allocations: 15.94 kB / 417.2 MB, free: 10.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.004509/0.3629, allocations: 3.405 MB / 420.6 MB, free: 7.605 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.363, allocations: 24 kB / 420.6 MB, free: 7.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.833e-05/0.363, allocations: 59.38 kB / 420.6 MB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.365, allocations: 1.028 MB / 421.7 MB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002306/0.3673, allocations: 1.185 MB / 422.9 MB, free: 5.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1424/0.5097, allocations: 5.64 MB / 428.5 MB, free: 97.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/0.5123, allocations: 170.4 kB / 428.7 MB, free: 97.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004433/0.5127, allocations: 187.9 kB / 428.8 MB, free: 97.17 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.001848/0.5146, allocations: 441.9 kB / 429.3 MB, free: 97.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007722/0.5154, allocations: 340.5 kB / 429.6 MB, free: 97.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004737/0.5201, allocations: 2.787 MB / 432.4 MB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.269e-05/0.5201, allocations: 43 kB / 432.4 MB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.821e-05/0.5201, allocations: 9.438 kB / 432.5 MB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.53e-05/0.5202, allocations: 24.28 kB / 432.5 MB, free: 96.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.5325, allocations: 7.412 MB / 439.9 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.5325, allocations: 6.844 kB / 439.9 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/0.5342, allocations: 0.758 MB / 440.7 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/0.5355, allocations: 487.1 kB / 441.1 MB, free: 96.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001743/0.5373, allocations: 0.9253 MB / 442.1 MB, free: 96.13 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.5374, allocations: 92.66 kB / 442.1 MB, free: 96.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004703/0.5421, allocations: 5.302 MB / 447.4 MB, free: 93.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.5422, allocations: 9.031 kB / 447.5 MB, free: 93.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/0.547, allocations: 3.509 MB / 451 MB, free: 93.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006175/0.5477, allocations: 85.44 kB / 451 MB, free: 93.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.5488, allocations: 104.1 kB / 451.1 MB, free: 93.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004778/0.5493, allocations: 311.2 kB / 451.5 MB, free: 93.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.5494, allocations: 92.44 kB / 451.5 MB, free: 93.05 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001087/0.5505, allocations: 0.851 MB / 452.4 MB, free: 92.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5505, allocations: 0 / 452.4 MB, free: 92.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003254/0.5538, allocations: 1.382 MB / 453.8 MB, free: 92.96 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.0004593/0.5542, allocations: 261.8 kB / 454 MB, free: 92.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003906/0.5581, allocations: 3.056 MB / 457.1 MB, free: 92.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001375/0.5583, allocations: 81.78 kB / 457.2 MB, free: 92.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002037/0.5603, allocations: 1.818 MB / 459 MB, free: 92.06 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.5625, allocations: 1.037 MB / 460 MB, free: 92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04764/0.6101, allocations: 11.81 MB / 471.8 MB, free: 87.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001709/0.6118, allocations: 1.557 MB / 473.4 MB, free: 86.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001857/0.6137, allocations: 0.5789 MB / 474 MB, free: 85.67 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/0.615, allocations: 0.7845 MB / 474.8 MB, free: 84.97 MB / 394.7 MB Notification: Performance of SimCode: time 2.345e-06/0.615, allocations: 0 / 474.8 MB, free: 84.97 MB / 394.7 MB Notification: Performance of Templates: time 0.07155/0.6865, allocations: 62.06 MB / 0.5242 GB, free: 25.47 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.369215192273259]